#12082D
Closest named color: Midnight (#03012D). oklch(17.7% 0.07 289.8), rgb(18, 8, 45).
Aa
White text reads best on this color (19.11:1).
About this color
#12082D is a very dark, moderately saturated purple. In OKLCH its lightness is 18%, its chroma 0.070 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.047 away. White text reads best on it, at 19.11:1.
| Hue family | Purples |
| Lightness | very dark (18%) |
| Chroma | moderately saturated (0.070) |
| Temperature | cool |
| Nearest name | Midnight (#03012D) |
| Black text | 1.09:1 |
| White text | 19.11:1 |
Values
| HEX | #12082D |
| RGB | rgb(18, 8, 45) |
| HSL | hsl(256, 70%, 10%) |
| OKLCH | oklch(17.7% 0.07 289.8) |
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 #12082D | 19.11:1 | AAA | Lc -107.3 | Preferred for body text |
| Black text on #12082D | 1.09:1 | Fails | Lc 0.0 | Not readable |
| #12082D text on white | 19.11:1 | AAA | Lc 105.3 | Preferred for body text |
| #12082D text on black | 1.09: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
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E9E8F9
oklch(93.7% 0.023 288.7)
-
Step 200
200
#D8D5F6
oklch(88.6% 0.045 289.6)
-
Step 300
300
#BFB8F3
oklch(80.9% 0.083 289.8)
-
Step 400
400
#A091EE
oklch(70.8% 0.134 289.9)
-
Step 500
500
#8A73E8
oklch(63.2% 0.17 289.7)
-
Step 600
600
#7558D6
oklch(55.6% 0.185 289.6)
-
Step 700
700
#6347B9
oklch(49.1% 0.172 289.9)
-
Step 800
800
#503B96
oklch(42.6% 0.143 289.6)
-
Step 900
900
#423477
oklch(37.7% 0.11 289.7)
-
Step 950
950 (this color)
#12082D
oklch(17.7% 0.07 289.8)
#12082D 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) | #00102E | 0.038 |
| Deuteranopia (no green cones) | #000E2C | 0.037 |
| Tritanopia (no blue cones) | #091119 | 0.056 |
| Achromatopsia (no color) | #0F0F0F | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12082D
#12082D
oklch(17.7% 0.07 289.8)
- #121200
#121200
oklch(17.6% 0.038 109.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #12082D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight #03012D ΔE 0.047
- Dark Navy #000435 ΔE 0.048
- Dark Navy Blue #00022E ΔE 0.053
- Very Dark Blue #000133 ΔE 0.055
- Midnight Purple #280137 ΔE 0.057
- Very Dark Purple #2A0134 ΔE 0.060
- Navy Blue #001146 ΔE 0.061
- Night Blue #040348 ΔE 0.062
Use #12082D 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.