#04010C
Closest named color: Almost Black (#070D0D). oklch(9.5% 0.038 298.5), rgb(4, 1, 12).
Aa
White text reads best on this color (20.69:1).
About this color
#04010C is a very dark, muted purple. In OKLCH its lightness is 9%, its chroma 0.038 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.071 away. White text reads best on it, at 20.69:1.
| Hue family | Purples |
| Lightness | very dark (9%) |
| Chroma | muted (0.038) |
| Temperature | in between |
| Nearest name | Almost Black (#070D0D) |
| Black text | 1.01:1 |
| White text | 20.69:1 |
Values
| HEX | #04010C |
| RGB | rgb(4, 1, 12) |
| HSL | hsl(256, 85%, 3%) |
| OKLCH | oklch(9.5% 0.038 298.5) |
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 #04010C | 20.69:1 | AAA | Lc -107.9 | Preferred for body text |
| Black text on #04010C | 1.01:1 | Fails | Lc 0.0 | Not readable |
| #04010C text on white | 20.69:1 | AAA | Lc 106.0 | Preferred for body text |
| #04010C text on black | 1.01: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
#EBE8F2
oklch(93.6% 0.014 299.8)
-
Step 200
200
#DBD6E8
oklch(88.5% 0.025 298.6)
-
Step 300
300
#C4BBDA
oklch(80.9% 0.044 298.7)
-
Step 400
400
#A697C8
oklch(70.7% 0.072 298.6)
-
Step 500
500
#907DB9
oklch(63% 0.091 298.3)
-
Step 600
600
#7B66A5
oklch(55.6% 0.098 298.5)
-
Step 700
700
#68548E
oklch(49.1% 0.093 298.8)
-
Step 800
800
#544573
oklch(42.6% 0.076 298.1)
-
Step 900
900
#463A5D
oklch(37.7% 0.06 299.3)
-
Step 950
950 (this color)
#04010C
oklch(9.5% 0.038 298.5)
#04010C 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) | #00020D | 0.025 |
| Deuteranopia (no green cones) | #00020C | 0.025 |
| Tritanopia (no blue cones) | #030204 | 0.028 |
| Achromatopsia (no color) | #020202 | 0.039 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #04010C
#04010C
oklch(9.5% 0.038 298.5)
- #020300
#020300
oklch(9.1% 0.022 121)
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 #04010C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Almost Black #070D0D ΔE 0.071
- Midnight #03012D ΔE 0.074
- Dark Navy Blue #00022E ΔE 0.079
- Rich Navy #001219 ΔE 0.086
- Very Dark Blue #000133 ΔE 0.089
- Very Dark Brown #1D0200 ΔE 0.089
- Dark Navy #000435 ΔE 0.094
- Black #000000 ΔE 0.102
Use #04010C 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.