2E283F

#2E283F closest to Midnight Masquerade

#2E283F is a very dark, muted purple; the closest named color is Midnight Masquerade. In the RGB color model it is made of 18.0% red, 15.7% green and 24.7% blue (rgb(46, 40, 63)). Its HSL value is 256° hue, 22% saturation and 20% lightness, and in CMYK it is 27% cyan, 37% magenta, 0% yellow and 75% black. #2E283F is a cool color. White text reads best on it, with a contrast ratio of 14.08:1.

#2E283F color conversion

HEX
RGB
HSL
HSB / HSV
HWB
CMYK
XYZ
CIELAB
CIELCh
CIELUV
OKLCH

Variations of #2E283F

Shades

Mixed with black: richer and darker.

Tints

Mixed with white: lighter and softer.

Tones

Mixed with gray: calmer and more muted.

Hues

The same lightness and chroma, rotated around the color wheel.

Temperatures

Cooler on the left, warmer on the right.

#2E283F color harmonies

Complementary

The opposite hue — maximum contrast and energy.

Open in generator →

Split complementary

The two hues next to the complement — contrast with less tension.

Open in generator →

Analogous

Neighbouring hues — calm, cohesive and natural.

Open in generator →

Triadic

Three hues evenly spaced at 120° — vibrant yet balanced.

Open in generator →

Tetradic

Two complementary pairs — rich, best with one dominant color.

Open in generator →

Square

Four hues spaced at 90° — bold and playful.

Open in generator →

#2E283F for color-blind viewers (and dogs)

How #2E283F appears with each type of color vision deficiency (Machado 2009 model) — and to your dog. Try the dog vision simulator →

  • Dog vision 96% similarHow dogs see it · simulated as #232B3E
  • Protanopia 95% similar1.3% of men, 0.02% of women · simulated as #222C40
  • Protanomaly 97% similar1.3% of men, 0.02% of women · simulated as #262B40
  • Deuteranopia 96% similar1.2% of men, 0.01% of women · simulated as #232B3E
  • Deuteranomaly 97% similar5% of men, 0.35% of women · simulated as #272A3F
  • Tritanopia 93% similar0.001% of men, 0.03% of women · simulated as #2B2C30
  • Tritanomaly 97% similar0.0001% of men, 0.0001% of women · simulated as #2D2A39
  • Achromatopsia 92% similar0.003% of men, 0.003% of women · simulated as #2B2B2B
  • Achromatomaly 94% similar0.001% of men, 0.001% of women · simulated as #2C2B31

#2E283F contrast checker

AaThe quick brown fox jumps over the lazy dog.
14.08:1 Super#2E283F text on white
AA normalPassAAA normalPass
AA largePassAAA largePass
AaThe quick brown fox jumps over the lazy dog.
1.49:1 Very poor#2E283F text on black
AA normalFailAAA normalFail
AA largeFailAAA largeFail

Need another background? Pick any pair in the palette generator and open the contrast panel.

Colors similar to #2E283F

Palettes with #2E283F

#2E283F in CSS

/* Midnight Masquerade */
.color { color: #2E283F; }
.background { background-color: #2E283F; }
.border { border: 1px solid #2E283F; }

/* Other notations */
color: rgb(46 40 63);
color: hsl(256 22% 20%);
color: oklch(0.294 0.042 295.7);

#2E283F FAQ

What color is #2E283F?

#2E283F is a very dark, muted purple. Its closest named color is Midnight Masquerade. It belongs to the purple color family and is a cool color.

What is the RGB value of #2E283F?

#2E283F is rgb(46, 40, 63) in RGB, hsl(256, 22%, 20%) in HSL and cmyk(27%, 37%, 0%, 75%) in CMYK.

What is the complementary color of #2E283F?

The complementary color of #2E283F is #393F28, which sits opposite it on the color wheel.

Which text color works on #2E283F?

White text has the best contrast on #2E283F: 14.08:1, which meets the WCAG AA requirement of 4.5:1 for normal text.

Is #2E283F a warm or cool color?

#2E283F is a cool color.