331E45

#331E45 closest to Midnight Velvet

#331E45 is a very dark, muted purple; the closest named color is Midnight Velvet. In the RGB color model it is made of 20.0% red, 11.8% green and 27.1% blue (rgb(51, 30, 69)). Its HSL value is 272° hue, 39% saturation and 19% lightness, and in CMYK it is 26% cyan, 57% magenta, 0% yellow and 73% black. #331E45 is a cool color. White text reads best on it, with a contrast ratio of 14.87:1.

#331E45 color conversion

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

Variations of #331E45

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.

#331E45 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 →

#331E45 for color-blind viewers (and dogs)

How #331E45 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 #192844
  • Protanopia 89% similar1.3% of men, 0.02% of women · simulated as #132746
  • Protanomaly 92% similar1.3% of men, 0.02% of women · simulated as #1F2546
  • Deuteranopia 90% similar1.2% of men, 0.01% of women · simulated as #192844
  • Deuteranomaly 93% similar5% of men, 0.35% of women · simulated as #232544
  • Tritanopia 89% similar0.001% of men, 0.03% of women · simulated as #30252E
  • Tritanomaly 96% similar0.0001% of men, 0.0001% of women · simulated as #33213C
  • Achromatopsia 85% similar0.003% of men, 0.003% of women · simulated as #272727
  • Achromatomaly 90% similar0.001% of men, 0.001% of women · simulated as #2B2531

#331E45 contrast checker

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

Palettes with #331E45

#331E45 in CSS

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

/* Other notations */
color: rgb(51 30 69);
color: hsl(272 39% 19%);
color: oklch(0.282 0.073 307.2);

#331E45 FAQ

What color is #331E45?

#331E45 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 #331E45?

#331E45 is rgb(51, 30, 69) in RGB, hsl(272, 39%, 19%) in HSL and cmyk(26%, 57%, 0%, 73%) in CMYK.

What is the complementary color of #331E45?

The complementary color of #331E45 is #30451E, which sits opposite it on the color wheel.

Which text color works on #331E45?

White text has the best contrast on #331E45: 14.87:1, which meets the WCAG AA requirement of 4.5:1 for normal text.

Is #331E45 a warm or cool color?

#331E45 is a cool color.