08022F

#08022F closest to Midnight

#08022F is a very dark, moderately saturated purple; the closest named color is Midnight. In the RGB color model it is made of 3.1% red, 0.8% green and 18.4% blue (rgb(8, 2, 47)). Its HSL value is 248° hue, 92% saturation and 10% lightness, and in CMYK it is 83% cyan, 96% magenta, 0% yellow and 82% black. #08022F is a cool color. White text reads best on it, with a contrast ratio of 19.81:1.

#08022F color conversion

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

Variations of #08022F

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.

#08022F 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 →

#08022F for color-blind viewers (and dogs)

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

  • Dog vision 95% similarHow dogs see it · simulated as #00082E
  • Protanopia 94% similar1.3% of men, 0.02% of women · simulated as #000C30
  • Protanomaly 95% similar1.3% of men, 0.02% of women · simulated as #000930
  • Deuteranopia 95% similar1.2% of men, 0.01% of women · simulated as #00082E
  • Deuteranomaly 96% similar5% of men, 0.35% of women · simulated as #00062F
  • Tritanopia 87% similar0.001% of men, 0.03% of women · simulated as #000E18
  • Tritanomaly 95% similar0.0001% of men, 0.0001% of women · simulated as #030726
  • Achromatopsia 83% similar0.003% of men, 0.003% of women · simulated as #0A0A0A
  • Achromatomaly 89% similar0.001% of men, 0.001% of women · simulated as #090818

#08022F contrast checker

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

Palettes with #08022F

#08022F in CSS

/* Midnight */
.color { color: #08022F; }
.background { background-color: #08022F; }
.border { border: 1px solid #08022F; }

/* Other notations */
color: rgb(8 2 47);
color: hsl(248 92% 10%);
color: oklch(0.154 0.086 278.2);

#08022F FAQ

What color is #08022F?

#08022F is a very dark, moderately saturated purple. Its closest named color is Midnight. It belongs to the purple color family and is a cool color.

What is the RGB value of #08022F?

#08022F is rgb(8, 2, 47) in RGB, hsl(248, 92%, 10%) in HSL and cmyk(83%, 96%, 0%, 82%) in CMYK.

What is the complementary color of #08022F?

The complementary color of #08022F is #292F02, which sits opposite it on the color wheel.

Which text color works on #08022F?

White text has the best contrast on #08022F: 19.81:1, which meets the WCAG AA requirement of 4.5:1 for normal text.

Is #08022F a warm or cool color?

#08022F is a cool color.