#28031D
Closest named color: Very Dark Purple (#2A0134). oklch(19.2% 0.073 342.1), rgb(40, 3, 29).
Aa
White text reads best on this color (18.73:1).
About this color
#28031D is a very dark, moderately saturated purple. In OKLCH its lightness is 19%, its chroma 0.073 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.047 away. White text reads best on it, at 18.73:1.
| Hue family | Purples |
| Lightness | very dark (19%) |
| Chroma | moderately saturated (0.073) |
| Temperature | warm |
| Nearest name | Very Dark Purple (#2A0134) |
| Black text | 1.12:1 |
| White text | 18.73:1 |
Values
| HEX | #28031D |
| RGB | rgb(40, 3, 29) |
| HSL | hsl(318, 86%, 8%) |
| OKLCH | oklch(19.2% 0.073 342.1) |
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 #28031D | 18.73:1 | AAA | Lc -106.9 | Preferred for body text |
| Black text on #28031D | 1.12:1 | Fails | Lc 0.0 | Not readable |
| #28031D text on white | 18.73:1 | AAA | Lc 104.8 | Preferred for body text |
| #28031D text on black | 1.12: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
#FBF3F8
oklch(97.2% 0.011 339.3)
-
Step 100
100
#F6E4EE
oklch(93.6% 0.024 342.9)
-
Step 200
200
#F1CDE2
oklch(88.5% 0.049 342.3)
-
Step 300
300
#E8ABD0
oklch(80.9% 0.086 342.2)
-
Step 400
400
#DA7CB8
oklch(70.7% 0.137 342.3)
-
Step 500
500
#CD56A7
oklch(63.1% 0.176 341.8)
-
Step 600
600
#B83692
oklch(55.5% 0.191 341.9)
-
Step 700
700
#9E277C
oklch(49% 0.177 342)
-
Step 800
800
#812365
oklch(42.8% 0.147 342.2)
-
Step 900
900
#682352
oklch(37.7% 0.114 342.3)
-
Step 950
950 (this color)
#28031D
oklch(19.2% 0.073 342.1)
#28031D 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) | #060E1E | 0.080 |
| Deuteranopia (no green cones) | #11141C | 0.070 |
| Tritanopia (no blue cones) | #2B030E | 0.032 |
| Achromatopsia (no color) | #121212 | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #28031D
#28031D
oklch(19.2% 0.073 342.1)
- #001A0E
#001A0E
oklch(19.2% 0.043 161.3)
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 #28031D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Very Dark Purple #2A0134 ΔE 0.047
- Midnight Purple #280137 ΔE 0.053
- Eggplant #380835 ΔE 0.061
- Dark Plum #3F012C ΔE 0.063
- Dark Maroon #3C0008 ΔE 0.065
- Aubergine #3D0734 ΔE 0.068
- Dark Purple #35063E ΔE 0.070
- Very Dark Brown #1D0200 ΔE 0.071
Use #28031D 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.