#12002E
Closest named color: Midnight (#03012D). oklch(16% 0.088 294.4), rgb(18, 0, 46).
Aa
White text reads best on this color (19.71:1).
About this color
#12002E is a very dark, moderately saturated purple. In OKLCH its lightness is 16%, its chroma 0.088 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.040 away. White text reads best on it, at 19.71:1.
| Hue family | Purples |
| Lightness | very dark (16%) |
| Chroma | moderately saturated (0.088) |
| Temperature | in between |
| Nearest name | Midnight (#03012D) |
| Black text | 1.06:1 |
| White text | 19.71:1 |
Values
| HEX | #12002E |
| RGB | rgb(18, 0, 46) |
| HSL | hsl(263, 100%, 9%) |
| OKLCH | oklch(16% 0.088 294.4) |
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 #12002E | 19.71:1 | AAA | Lc -107.4 | Preferred for body text |
| Black text on #12002E | 1.06:1 | Fails | Lc 0.0 | Not readable |
| #12002E text on white | 19.71:1 | AAA | Lc 105.3 | Preferred for body text |
| #12002E text on black | 1.06: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
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#EBE6FD
oklch(93.6% 0.031 295.8)
-
Step 200
200
#DBD2FC
oklch(88.4% 0.058 295)
-
Step 300
300
#C4B3FE
oklch(80.8% 0.106 294.3)
-
Step 400
400
#A888FD
oklch(70.6% 0.168 294.3)
-
Step 500
500
#9565FB
oklch(63.2% 0.214 294.2)
-
Step 600
600
#8145EA
oklch(55.6% 0.232 294.2)
-
Step 700
700
#6E34CB
oklch(49.1% 0.216 294.5)
-
Step 800
800
#592DA4
oklch(42.6% 0.179 294.4)
-
Step 900
900
#492B82
oklch(37.7% 0.139 294.7)
-
Step 950
950 (this color)
#12002E
oklch(16% 0.088 294.4)
#12002E 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) | #000B2F | 0.049 |
| Deuteranopia (no green cones) | #000A2D | 0.048 |
| Tritanopia (no blue cones) | #090C17 | 0.067 |
| Achromatopsia (no color) | #0B0B0B | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12002E
#12002E
oklch(16% 0.088 294.4)
- #0D0F00
#0D0F00
oklch(16.1% 0.036 115)
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 #12002E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight #03012D ΔE 0.040
- Dark Navy #000435 ΔE 0.049
- Dark Navy Blue #00022E ΔE 0.050
- Very Dark Blue #000133 ΔE 0.051
- Midnight Purple #280137 ΔE 0.060
- Night Blue #040348 ΔE 0.064
- Very Dark Purple #2A0134 ΔE 0.064
- Navy Blue #001146 ΔE 0.074
Use #12002E 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.