#040003
Closest named color: Black (#000000). oklch(7.3% 0.032 335.2), rgb(4, 0, 3).
Aa
White text reads best on this color (20.86:1).
About this color
#040003 is a very dark, muted purple. In OKLCH its lightness is 7%, its chroma 0.032 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Black (#000000), ΔE 0.080 away. White text reads best on it, at 20.86:1.
| Hue family | Purples |
| Lightness | very dark (7%) |
| Chroma | muted (0.032) |
| Temperature | warm |
| Nearest name | Black (#000000) |
| Black text | 1.00:1 |
| White text | 20.86:1 |
Values
| HEX | #040003 |
| RGB | rgb(4, 0, 3) |
| HSL | hsl(315, 100%, 1%) |
| OKLCH | oklch(7.3% 0.032 335.2) |
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 #040003 | 20.86:1 | AAA | Lc -107.9 | Preferred for body text |
| Black text on #040003 | 1.00:1 | Fails | Lc 0.0 | Not readable |
| #040003 text on white | 20.86:1 | AAA | Lc 106.0 | Preferred for body text |
| #040003 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
#F8F4F7
oklch(97.1% 0.006 334)
-
Step 100
100
#EFE7ED
oklch(93.6% 0.012 334.1)
-
Step 200
200
#E3D4DF
oklch(88.5% 0.022 335)
-
Step 300
300
#D1B8CA
oklch(80.9% 0.037 335.9)
-
Step 400
400
#BA92B0
oklch(70.7% 0.063 335.3)
-
Step 500
500
#A8779C
oklch(63.1% 0.079 335.6)
-
Step 600
600
#926087
oklch(55.6% 0.084 335)
-
Step 700
700
#7D4F72
oklch(49.2% 0.079 335.9)
-
Step 800
800
#65415D
oklch(42.7% 0.065 335)
-
Step 900
900
#53374C
oklch(37.7% 0.051 336)
-
Step 950
950 (this color)
#040003
oklch(7.3% 0.032 335.2)
#040003 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) | #000103 | 0.037 |
| Deuteranopia (no green cones) | #010103 | 0.027 |
| Tritanopia (no blue cones) | #040001 | 0.014 |
| Achromatopsia (no color) | #010101 | 0.033 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #040003
#040003
oklch(7.3% 0.032 335.2)
- #000201
#000201
oklch(7.5% 0.016 165.4)
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 #040003, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Black #000000 ΔE 0.080
- Almost Black #070D0D ΔE 0.089
- Very Dark Brown #1D0200 ΔE 0.091
- Midnight #03012D ΔE 0.105
- Rich Navy #001219 ΔE 0.110
- Dark Navy Blue #00022E ΔE 0.110
- Very Dark Blue #000133 ΔE 0.120
- Dark Navy #000435 ΔE 0.125
Use #040003 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.