2E183B

#2E183B closest to Midnight Velvet

#2E183B is a very dark, muted purple; the closest named color is Midnight Velvet. In the RGB color model it is made of 18.0% red, 9.4% green and 23.1% blue (rgb(46, 24, 59)). Its HSL value is 278° hue, 42% saturation and 16% lightness, and in CMYK it is 22% cyan, 59% magenta, 0% yellow and 77% black. #2E183B is a cool color. White text reads best on it, with a contrast ratio of 16.03:1.

#2E183B color conversion

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

Variations of #2E183B

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.

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

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

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

  • Dog vision 90% similarHow dogs see it · simulated as #16223A
  • Protanopia 89% similar1.3% of men, 0.02% of women · simulated as #0F203C
  • Protanomaly 92% similar1.3% of men, 0.02% of women · simulated as #1B1F3C
  • Deuteranopia 90% similar1.2% of men, 0.01% of women · simulated as #16223A
  • Deuteranomaly 93% similar5% of men, 0.35% of women · simulated as #1F1F3A
  • Tritanopia 90% similar0.001% of men, 0.03% of women · simulated as #2D1E26
  • Tritanomaly 96% similar0.0001% of men, 0.0001% of women · simulated as #2E1B33
  • Achromatopsia 86% similar0.003% of men, 0.003% of women · simulated as #212121
  • Achromatomaly 90% similar0.001% of men, 0.001% of women · simulated as #251F29

#2E183B contrast checker

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

Palettes with #2E183B

#2E183B in CSS

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

/* Other notations */
color: rgb(46 24 59);
color: hsl(278 42% 16%);
color: oklch(0.257 0.068 311.5);

#2E183B FAQ

What color is #2E183B?

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

What is the RGB value of #2E183B?

#2E183B is rgb(46, 24, 59) in RGB, hsl(278, 42%, 16%) in HSL and cmyk(22%, 59%, 0%, 77%) in CMYK.

What is the complementary color of #2E183B?

The complementary color of #2E183B is #253B18, which sits opposite it on the color wheel.

Which text color works on #2E183B?

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

Is #2E183B a warm or cool color?

#2E183B is a cool color.