#310B21
Closest named color: Dark Plum (#3F012C). oklch(22.5% 0.068 348.2), rgb(49, 11, 33).
Aa
White text reads best on this color (17.49:1).
About this color
#310B21 is a very dark, muted red. In OKLCH its lightness is 22%, its chroma 0.068 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.042 away. White text reads best on it, at 17.49:1.
| Hue family | Reds |
| Lightness | very dark (22%) |
| Chroma | muted (0.068) |
| Temperature | warm |
| Nearest name | Dark Plum (#3F012C) |
| Black text | 1.20:1 |
| White text | 17.49:1 |
Values
| HEX | #310B21 |
| RGB | rgb(49, 11, 33) |
| HSL | hsl(325, 63%, 12%) |
| OKLCH | oklch(22.5% 0.068 348.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 #310B21 | 17.49:1 | AAA | Lc -106.3 | Preferred for body text |
| Black text on #310B21 | 1.20:1 | Fails | Lc 0.0 | Not readable |
| #310B21 text on white | 17.49:1 | AAA | Lc 104.0 | Preferred for body text |
| #310B21 text on black | 1.20: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
#FBF3F7
oklch(97.1% 0.01 345.4)
-
Step 100
100
#F7E4EC
oklch(93.6% 0.023 350.1)
-
Step 200
200
#F1CEDE
oklch(88.6% 0.044 348.7)
-
Step 300
300
#E9ACCA
oklch(81% 0.081 348)
-
Step 400
400
#DB7EAE
oklch(70.8% 0.128 348.6)
-
Step 500
500
#CE599A
oklch(63.1% 0.164 348.4)
-
Step 600
600
#B93A85
oklch(55.5% 0.179 348.1)
-
Step 700
700
#9F2B71
oklch(49.1% 0.167 348)
-
Step 800
800
#81265C
oklch(42.7% 0.137 347.9)
-
Step 900
900
#68254B
oklch(37.7% 0.106 348.3)
-
Step 950
950 (this color)
#310B21
oklch(22.5% 0.068 348.2)
#310B21 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) | #101522 | 0.074 |
| Deuteranopia (no green cones) | #1B1C20 | 0.066 |
| Tritanopia (no blue cones) | #350A14 | 0.027 |
| Achromatopsia (no color) | #191919 | 0.069 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #310B21
#310B21
oklch(22.5% 0.068 348.2)
- #002218
#002218
oklch(22.4% 0.045 169.4)
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 #310B21, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Plum #3F012C ΔE 0.042
- Eggplant #380835 ΔE 0.042
- Aubergine #3D0734 ΔE 0.046
- Dark Maroon #3C0008 ΔE 0.049
- Very Dark Purple #2A0134 ΔE 0.054
- Dark Purple #35063E ΔE 0.058
- Midnight Purple #280137 ΔE 0.060
- Deep Purple #36013F ΔE 0.064
Use #310B21 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.