#02000C
Closest named color: Midnight (#03012D). oklch(7.9% 0.045 289), rgb(2, 0, 12).
Aa
White text reads best on this color (20.83:1).
About this color
#02000C is a very dark, muted purple. In OKLCH its lightness is 8%, its chroma 0.045 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.078 away. White text reads best on it, at 20.83:1.
| Hue family | Purples |
| Lightness | very dark (8%) |
| Chroma | muted (0.045) |
| Temperature | cool |
| Nearest name | Midnight (#03012D) |
| Black text | 1.00:1 |
| White text | 20.83:1 |
Values
| HEX | #02000C |
| RGB | rgb(2, 0, 12) |
| HSL | hsl(250, 100%, 2%) |
| OKLCH | oklch(7.9% 0.045 289) |
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 #02000C | 20.83:1 | AAA | Lc -107.9 | Preferred for body text |
| Black text on #02000C | 1.00:1 | Fails | Lc 0.0 | Not readable |
| #02000C text on white | 20.83:1 | AAA | Lc 106.0 | Preferred for body text |
| #02000C text on black | 1.00: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
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#E9E8F4
oklch(93.5% 0.016 289.9)
-
Step 200
200
#D8D6EC
oklch(88.4% 0.03 289.9)
-
Step 300
300
#BFBCE2
oklch(81% 0.053 288.8)
-
Step 400
400
#9E98D3
oklch(70.7% 0.086 288.7)
-
Step 500
500
#887EC7
oklch(63.2% 0.108 289.2)
-
Step 600
600
#7266B4
oklch(55.6% 0.119 289)
-
Step 700
700
#60549B
oklch(49.1% 0.111 289.4)
-
Step 800
800
#4E457E
oklch(42.7% 0.093 289.1)
-
Step 900
900
#413B65
oklch(37.8% 0.071 289.1)
-
Step 950
950 (this color)
#02000C
oklch(7.9% 0.045 289)
#02000C 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) | #00010D | 0.020 |
| Deuteranopia (no green cones) | #00010C | 0.020 |
| Tritanopia (no blue cones) | #000204 | 0.038 |
| Achromatopsia (no color) | #010101 | 0.047 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #02000C
#02000C
oklch(7.9% 0.045 289)
- #020200
#020200
oklch(8.2% 0.018 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 and gradients that use #02000C
These curated palettes and gradients contain exactly #02000C. Open one to see the full color scheme around it.
Palettes
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight #03012D ΔE 0.078
- Dark Navy Blue #00022E ΔE 0.082
- Almost Black #070D0D ΔE 0.087
- Black #000000 ΔE 0.091
- Very Dark Blue #000133 ΔE 0.092
- Dark Navy #000435 ΔE 0.099
- Rich Navy #001219 ΔE 0.100
- Very Dark Brown #1D0200 ΔE 0.107
Use #02000C 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.