#310017
Closest named color: Dark Maroon (#3C0008). oklch(20.4% 0.083 357.5), rgb(49, 0, 23).
Aa
White text reads best on this color (18.37:1).
About this color
#310017 is a very dark, moderately saturated red. In OKLCH its lightness is 20%, its chroma 0.083 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.041 away. White text reads best on it, at 18.37:1.
| Hue family | Reds |
| Lightness | very dark (20%) |
| Chroma | moderately saturated (0.083) |
| Temperature | warm |
| Nearest name | Dark Maroon (#3C0008) |
| Black text | 1.14:1 |
| White text | 18.37:1 |
Values
| HEX | #310017 |
| RGB | rgb(49, 0, 23) |
| HSL | hsl(332, 100%, 10%) |
| OKLCH | oklch(20.4% 0.083 357.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 #310017 | 18.37:1 | AAA | Lc -106.5 | Preferred for body text |
| Black text on #310017 | 1.14:1 | Fails | Lc 0.0 | Not readable |
| #310017 text on white | 18.37:1 | AAA | Lc 104.2 | Preferred for body text |
| #310017 text on black | 1.14: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
#FDF2F5
oklch(97.1% 0.012 358.8)
-
Step 100
100
#FBE2EA
oklch(93.5% 0.029 356.3)
-
Step 200
200
#F8CBD9
oklch(88.5% 0.054 357.7)
-
Step 300
300
#F5A6C1
oklch(80.9% 0.099 357.4)
-
Step 400
400
#EB72A1
oklch(70.6% 0.157 357.4)
-
Step 500
500
#E1458A
oklch(63.1% 0.2 357.5)
-
Step 600
600
#CC1474
oklch(55.5% 0.218 357.4)
-
Step 700
700
#AF0061
oklch(49% 0.2 357.5)
-
Step 800
800
#8F094F
oklch(42.6% 0.168 357.6)
-
Step 900
900
#731742
oklch(37.7% 0.131 357.4)
-
Step 950
950 (this color)
#310017
oklch(20.4% 0.083 357.5)
#310017 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) | #0A0E18 | 0.094 |
| Deuteranopia (no green cones) | #181816 | 0.085 |
| Tritanopia (no blue cones) | #360009 | 0.030 |
| Achromatopsia (no color) | #141414 | 0.084 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #310017
#310017
oklch(20.4% 0.083 357.5)
- #001C17
#001C17
oklch(20.3% 0.037 179.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 #310017, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Maroon #3C0008 ΔE 0.041
- Dark Plum #3F012C ΔE 0.052
- Eggplant #380835 ΔE 0.060
- Deep Brown #410200 ΔE 0.062
- Very Dark Purple #2A0134 ΔE 0.062
- Aubergine #3D0734 ΔE 0.062
- Midnight Purple #280137 ΔE 0.070
- Very Dark Brown #1D0200 ΔE 0.073
Use #310017 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.