#310B17
Closest named color: Dark Maroon (#3C0008). oklch(22% 0.063 4.4), rgb(49, 11, 23).
Aa
White text reads best on this color (17.63:1).
About this color
#310B17 is a very dark, muted red. In OKLCH its lightness is 22%, its chroma 0.063 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.035 away. White text reads best on it, at 17.63:1.
| Hue family | Reds |
| Lightness | very dark (22%) |
| Chroma | muted (0.063) |
| Temperature | warm |
| Nearest name | Dark Maroon (#3C0008) |
| Black text | 1.19:1 |
| White text | 17.63:1 |
Values
| HEX | #310B17 |
| RGB | rgb(49, 11, 23) |
| HSL | hsl(341, 63%, 12%) |
| OKLCH | oklch(22% 0.063 4.4) |
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 #310B17 | 17.63:1 | AAA | Lc -106.4 | Preferred for body text |
| Black text on #310B17 | 1.19:1 | Fails | Lc 0.0 | Not readable |
| #310B17 text on white | 17.63:1 | AAA | Lc 104.1 | Preferred for body text |
| #310B17 text on black | 1.19: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
#FCF3F4
oklch(97.1% 0.01 9.5)
-
Step 100
100
#F7E4E8
oklch(93.5% 0.021 3.1)
-
Step 200
200
#F2CED6
oklch(88.4% 0.042 3)
-
Step 300
300
#EBADBB
oklch(80.9% 0.075 3.9)
-
Step 400
400
#DE8097
oklch(70.8% 0.118 4.8)
-
Step 500
500
#D25C7E
oklch(63.1% 0.152 4.4)
-
Step 600
600
#BD3E67
oklch(55.6% 0.165 4.5)
-
Step 700
700
#A32F56
oklch(49.2% 0.154 4.4)
-
Step 800
800
#842946
oklch(42.7% 0.126 4.7)
-
Step 900
900
#6B273B
oklch(37.9% 0.099 4.8)
-
Step 950
950 (this color)
#310B17
oklch(22% 0.063 4.4)
#310B17 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) | #131417 | 0.070 |
| Deuteranopia (no green cones) | #1D1B16 | 0.063 |
| Tritanopia (no blue cones) | #360610 | 0.017 |
| Achromatopsia (no color) | #191919 | 0.063 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #310B17
#310B17
oklch(22% 0.063 4.4)
- #00201D
#00201D
oklch(21.9% 0.038 186)
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 #310B17, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Maroon #3C0008 ΔE 0.035
- Deep Brown #410200 ΔE 0.050
- Dark Plum #3F012C ΔE 0.056
- Eggplant #380835 ΔE 0.061
- Aubergine #3D0734 ΔE 0.063
- Mahogany #4A0100 ΔE 0.066
- Dark Brown #341C02 ΔE 0.068
- Very Dark Purple #2A0134 ΔE 0.072
Use #310B17 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.