#020008
Closest named color: Black (#000000). oklch(7.3% 0.039 296.8), rgb(2, 0, 8).
Aa
White text reads best on this color (20.87:1).
About this color
#020008 is a very dark, muted purple. In OKLCH its lightness is 7%, its chroma 0.039 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Black (#000000), ΔE 0.083 away. White text reads best on it, at 20.87:1.
| Hue family | Purples |
| Lightness | very dark (7%) |
| Chroma | muted (0.039) |
| Temperature | in between |
| Nearest name | Black (#000000) |
| Black text | 1.00:1 |
| White text | 20.87:1 |
Values
| HEX | #020008 |
| RGB | rgb(2, 0, 8) |
| HSL | hsl(255, 100%, 2%) |
| OKLCH | oklch(7.3% 0.039 296.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 #020008 | 20.87:1 | AAA | Lc -107.9 | Preferred for body text |
| Black text on #020008 | 1.00:1 | Fails | Lc 0.0 | Not readable |
| #020008 text on white | 20.87:1 | AAA | Lc 106.0 | Preferred for body text |
| #020008 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
#F6F5F9
oklch(97.2% 0.005 297.7)
-
Step 100
100
#EAE8F2
oklch(93.5% 0.014 295.3)
-
Step 200
200
#DAD6E9
oklch(88.5% 0.026 295.5)
-
Step 300
300
#C3BBDC
oklch(80.9% 0.047 296.4)
-
Step 400
400
#A597CA
oklch(70.7% 0.075 297)
-
Step 500
500
#8F7DBC
oklch(63.1% 0.095 296.7)
-
Step 600
600
#7A65A9
oklch(55.6% 0.105 297.1)
-
Step 700
700
#675491
oklch(49.2% 0.097 297)
-
Step 800
800
#544575
oklch(42.7% 0.079 297.3)
-
Step 900
900
#453A5F
oklch(37.7% 0.063 296.9)
-
Step 950
950 (this color)
#020008
oklch(7.3% 0.039 296.8)
#020008 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) | #000108 | 0.023 |
| Deuteranopia (no green cones) | #000108 | 0.023 |
| Tritanopia (no blue cones) | #010102 | 0.032 |
| Achromatopsia (no color) | #010101 | 0.040 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #020008
#020008
oklch(7.3% 0.039 296.8)
- #010100
#010100
oklch(6.5% 0.014 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 #020008, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Black #000000 ΔE 0.083
- Midnight #03012D ΔE 0.089
- Almost Black #070D0D ΔE 0.090
- Dark Navy Blue #00022E ΔE 0.093
- Very Dark Blue #000133 ΔE 0.102
- Rich Navy #001219 ΔE 0.106
- Very Dark Brown #1D0200 ΔE 0.106
- Dark Navy #000435 ΔE 0.109
Use #020008 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.