#310822
Closest named color: Dark Plum (#3F012C). oklch(22.1% 0.074 345.8), rgb(49, 8, 34).
Aa
White text reads best on this color (17.67:1).
About this color
#310822 is a very dark, moderately saturated red. In OKLCH its lightness is 22%, its chroma 0.074 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.039 away. White text reads best on it, at 17.67:1.
| Hue family | Reds |
| Lightness | very dark (22%) |
| Chroma | moderately saturated (0.074) |
| Temperature | warm |
| Nearest name | Dark Plum (#3F012C) |
| Black text | 1.18:1 |
| White text | 17.67:1 |
Values
| HEX | #310822 |
| RGB | rgb(49, 8, 34) |
| HSL | hsl(322, 72%, 11%) |
| OKLCH | oklch(22.1% 0.074 345.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 #310822 | 17.67:1 | AAA | Lc -106.4 | Preferred for body text |
| Black text on #310822 | 1.18:1 | Fails | Lc 0.0 | Not readable |
| #310822 text on white | 17.67:1 | AAA | Lc 104.0 | Preferred for body text |
| #310822 text on black | 1.18: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
#FCF2F7
oklch(97% 0.013 345.5)
-
Step 100
100
#F7E3ED
oklch(93.5% 0.025 345.8)
-
Step 200
200
#F2CDE0
oklch(88.5% 0.048 345.8)
-
Step 300
300
#EBAACD
oklch(80.9% 0.088 345.7)
-
Step 400
400
#DD7AB3
oklch(70.6% 0.14 345.7)
-
Step 500
500
#D154A0
oklch(63.1% 0.178 345.9)
-
Step 600
600
#BC328B
oklch(55.5% 0.194 345.8)
-
Step 700
700
#A22376
oklch(49.1% 0.181 345.9)
-
Step 800
800
#842060
oklch(42.8% 0.15 346.1)
-
Step 900
900
#6A214F
oklch(37.7% 0.117 345.4)
-
Step 950
950 (this color)
#310822
oklch(22.1% 0.074 345.8)
#310822 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) | #0D1423 | 0.081 |
| Deuteranopia (no green cones) | #191B21 | 0.072 |
| Tritanopia (no blue cones) | #350713 | 0.031 |
| Achromatopsia (no color) | #181818 | 0.075 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #310822
#310822
oklch(22.1% 0.074 345.8)
- #002116
#002116
oklch(22% 0.045 166.9)
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 #310822, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Plum #3F012C ΔE 0.039
- Eggplant #380835 ΔE 0.039
- Aubergine #3D0734 ΔE 0.044
- Very Dark Purple #2A0134 ΔE 0.048
- Dark Maroon #3C0008 ΔE 0.052
- Dark Purple #35063E ΔE 0.055
- Midnight Purple #280137 ΔE 0.055
- Deep Purple #36013F ΔE 0.059
Use #310822 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.