2E2D4E

#2E2D4E closest to Midnight Masquerade

#2E2D4E is a dark, muted purple; the closest named color is Midnight Masquerade. In the RGB color model it is made of 18.0% red, 17.6% green and 30.6% blue (rgb(46, 45, 78)). Its HSL value is 242° hue, 27% saturation and 24% lightness, and in CMYK it is 41% cyan, 42% magenta, 0% yellow and 69% black. #2E2D4E is a cool color. White text reads best on it, with a contrast ratio of 13.11:1.

#2E2D4E color conversion

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

Variations of #2E2D4E

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.

#2E2D4E 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 →

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

How #2E2D4E 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 #212F4D
  • Protanopia 96% similar1.3% of men, 0.02% of women · simulated as #22324F
  • Protanomaly 97% similar1.3% of men, 0.02% of women · simulated as #26304F
  • Deuteranopia 96% similar1.2% of men, 0.01% of women · simulated as #212F4D
  • Deuteranomaly 97% similar5% of men, 0.35% of women · simulated as #262F4E
  • Tritanopia 90% similar0.001% of men, 0.03% of women · simulated as #253339
  • Tritanomaly 96% similar0.0001% of men, 0.0001% of women · simulated as #2B3045
  • Achromatopsia 88% similar0.003% of men, 0.003% of women · simulated as #303030
  • Achromatomaly 92% similar0.001% of men, 0.001% of women · simulated as #303039

#2E2D4E contrast checker

AaThe quick brown fox jumps over the lazy dog.
13.11:1 Super#2E2D4E text on white
AA normalPassAAA normalPass
AA largePassAAA largePass
AaThe quick brown fox jumps over the lazy dog.
1.60:1 Very poor#2E2D4E 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 #2E2D4E

Palettes with #2E2D4E

#2E2D4E in CSS

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

/* Other notations */
color: rgb(46 45 78);
color: hsl(242 27% 24%);
color: oklch(0.315 0.058 283.9);

#2E2D4E FAQ

What color is #2E2D4E?

#2E2D4E is a 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 #2E2D4E?

#2E2D4E is rgb(46, 45, 78) in RGB, hsl(242, 27%, 24%) in HSL and cmyk(41%, 42%, 0%, 69%) in CMYK.

What is the complementary color of #2E2D4E?

The complementary color of #2E2D4E is #4D4E2D, which sits opposite it on the color wheel.

Which text color works on #2E2D4E?

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

Is #2E2D4E a warm or cool color?

#2E2D4E is a cool color.