#06031B
Closest named color: Midnight (#03012D). oklch(12.8% 0.054 284.2), rgb(6, 3, 27).
Aa
White text reads best on this color (20.25:1).
About this color
#06031B is a very dark, muted purple. In OKLCH its lightness is 13%, its chroma 0.054 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.040 away. White text reads best on it, at 20.25:1.
| Hue family | Purples |
| Lightness | very dark (13%) |
| Chroma | muted (0.054) |
| Temperature | cool |
| Nearest name | Midnight (#03012D) |
| Black text | 1.03:1 |
| White text | 20.25:1 |
Values
| HEX | #06031B |
| RGB | rgb(6, 3, 27) |
| HSL | hsl(248, 80%, 6%) |
| OKLCH | oklch(12.8% 0.054 284.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 #06031B | 20.25:1 | AAA | Lc -107.8 | Preferred for body text |
| Black text on #06031B | 1.03:1 | Fails | Lc 0.0 | Not readable |
| #06031B text on white | 20.25:1 | AAA | Lc 105.9 | Preferred for body text |
| #06031B text on black | 1.03: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
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E8E8F6
oklch(93.5% 0.019 286)
-
Step 200
200
#D6D7F0
oklch(88.6% 0.034 283.9)
-
Step 300
300
#BBBCE9
oklch(81% 0.063 283.9)
-
Step 400
400
#9998DE
oklch(70.8% 0.102 284.1)
-
Step 500
500
#817DD5
oklch(63.2% 0.13 284.1)
-
Step 600
600
#6B64C2
oklch(55.5% 0.142 284.1)
-
Step 700
700
#5A53A8
oklch(49.2% 0.132 284.2)
-
Step 800
800
#494488
oklch(42.7% 0.11 284.1)
-
Step 900
900
#3D3A6D
oklch(37.7% 0.085 284.2)
-
Step 950
950 (this color)
#06031B
oklch(12.8% 0.054 284.2)
#06031B 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) | #00071C | 0.025 |
| Deuteranopia (no green cones) | #00051A | 0.022 |
| Tritanopia (no blue cones) | #01080D | 0.045 |
| Achromatopsia (no color) | #060606 | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #06031B
#06031B
oklch(12.8% 0.054 284.2)
- #080700
#080700
oklch(12.6% 0.027 105.2)
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 #06031B, 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 Blue #00022E ΔE 0.046
- Very Dark Blue #000133 ΔE 0.055
- Dark Navy #000435 ΔE 0.058
- Almost Black #070D0D ΔE 0.060
- Rich Navy #001219 ΔE 0.063
- Very Dark Brown #1D0200 ΔE 0.091
- Night Blue #040348 ΔE 0.094
Use #06031B 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.