#120022
Closest named color: Midnight (#03012D). oklch(14.5% 0.075 305.7), rgb(18, 0, 34).
Aa
White text reads best on this color (20.02:1).
About this color
#120022 is a very dark, moderately saturated purple. In OKLCH its lightness is 14%, its chroma 0.075 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.051 away. White text reads best on it, at 20.02:1.
| Hue family | Purples |
| Lightness | very dark (14%) |
| Chroma | moderately saturated (0.075) |
| Temperature | in between |
| Nearest name | Midnight (#03012D) |
| Black text | 1.04:1 |
| White text | 20.02:1 |
Values
| HEX | #120022 |
| RGB | rgb(18, 0, 34) |
| HSL | hsl(272, 100%, 7%) |
| OKLCH | oklch(14.5% 0.075 305.7) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #120022 | 20.02:1 | AAA | Lc -107.6 | Preferred for body text |
| Black text on #120022 | 1.04:1 | Fails | Lc 0.0 | Not readable |
| #120022 text on white | 20.02:1 | AAA | Lc 105.6 | Preferred for body text |
| #120022 text on black | 1.04:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F7F4FC
oklch(97.2% 0.011 303.1)
-
Step 100
100
#EEE6F8
oklch(93.6% 0.025 305.8)
-
Step 200
200
#E1D1F4
oklch(88.4% 0.05 306)
-
Step 300
300
#CEB2EF
oklch(80.8% 0.089 305.4)
-
Step 400
400
#B688E7
oklch(70.8% 0.142 305.4)
-
Step 500
500
#A566DF
oklch(63.1% 0.182 305.9)
-
Step 600
600
#9049CD
oklch(55.6% 0.198 305.6)
-
Step 700
700
#7B39B1
oklch(49.1% 0.184 305.9)
-
Step 800
800
#64318F
oklch(42.8% 0.151 305.9)
-
Step 900
900
#512C72
oklch(37.6% 0.118 305.9)
-
Step 950
950 (this color)
#120022
oklch(14.5% 0.075 305.7)
#120022 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #000823 | 0.054 |
| Deuteranopia (no green cones) | #000821 | 0.054 |
| Tritanopia (no blue cones) | #0F060F | 0.052 |
| Achromatopsia (no color) | #080808 | 0.076 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #120022
#120022
oklch(14.5% 0.075 305.7)
- #070D00
#070D00
oklch(14.7% 0.037 125.7)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes and gradients that use #120022
These curated palettes and gradients contain exactly #120022. Open one to see the full color scheme around it.
Gradients
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight #03012D ΔE 0.051
- Dark Navy Blue #00022E ΔE 0.060
- Dark Navy #000435 ΔE 0.065
- Very Dark Blue #000133 ΔE 0.065
- Midnight Purple #280137 ΔE 0.071
- Very Dark Purple #2A0134 ΔE 0.072
- Almost Black #070D0D ΔE 0.079
- Rich Navy #001219 ΔE 0.081
Use #120022 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.