#31021C
Closest named color: Dark Plum (#3F012C). oklch(20.9% 0.081 351.8), rgb(49, 2, 28).
Aa
White text reads best on this color (18.16:1).
About this color
#31021C is a very dark, moderately saturated red. In OKLCH its lightness is 21%, its chroma 0.081 and its hue 352°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.045 away. White text reads best on it, at 18.16:1.
| Hue family | Reds |
| Lightness | very dark (21%) |
| Chroma | moderately saturated (0.081) |
| Temperature | warm |
| Nearest name | Dark Plum (#3F012C) |
| Black text | 1.15:1 |
| White text | 18.16:1 |
Values
| HEX | #31021C |
| RGB | rgb(49, 2, 28) |
| HSL | hsl(327, 92%, 10%) |
| OKLCH | oklch(20.9% 0.081 351.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 #31021C | 18.16:1 | AAA | Lc -106.5 | Preferred for body text |
| Black text on #31021C | 1.15:1 | Fails | Lc 0.0 | Not readable |
| #31021C text on white | 18.16:1 | AAA | Lc 104.2 | Preferred for body text |
| #31021C text on black | 1.15: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
#FDF2F6
oklch(97.1% 0.013 353.1)
-
Step 100
100
#FAE3EC
oklch(93.7% 0.028 352)
-
Step 200
200
#F6CBDD
oklch(88.4% 0.054 351.2)
-
Step 300
300
#F2A7C7
oklch(81% 0.097 352.2)
-
Step 400
400
#E774AB
oklch(70.7% 0.154 351.8)
-
Step 500
500
#DC4996
oklch(63.1% 0.196 351.9)
-
Step 600
600
#C71E80
oklch(55.5% 0.214 352)
-
Step 700
700
#AC096D
oklch(49.2% 0.2 351.8)
-
Step 800
800
#8B1158
oklch(42.6% 0.165 351.9)
-
Step 900
900
#701A49
oklch(37.7% 0.128 351.6)
-
Step 950
950 (this color)
#31021C
oklch(20.9% 0.081 351.8)
#31021C 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) | #0A101D | 0.092 |
| Deuteranopia (no green cones) | #18191B | 0.081 |
| Tritanopia (no blue cones) | #36000D | 0.031 |
| Achromatopsia (no color) | #161616 | 0.082 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31021C
#31021C
oklch(20.9% 0.081 351.8)
- #001E16
#001E16
oklch(20.9% 0.041 172.1)
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 #31021C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Plum #3F012C ΔE 0.045
- Dark Maroon #3C0008 ΔE 0.046
- Eggplant #380835 ΔE 0.051
- Aubergine #3D0734 ΔE 0.054
- Very Dark Purple #2A0134 ΔE 0.054
- Midnight Purple #280137 ΔE 0.062
- Dark Purple #35063E ΔE 0.066
- Deep Brown #410200 ΔE 0.066
Use #31021C 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.