#310022
Closest named color: Dark Plum (#3F012C). oklch(20.9% 0.089 343.8), rgb(49, 0, 34).
Aa
White text reads best on this color (18.20:1).
About this color
#310022 is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.089 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.040 away. White text reads best on it, at 18.20:1.
| Hue family | Purples |
| Lightness | very dark (21%) |
| Chroma | moderately saturated (0.089) |
| Temperature | warm |
| Nearest name | Dark Plum (#3F012C) |
| Black text | 1.15:1 |
| White text | 18.20:1 |
Values
| HEX | #310022 |
| RGB | rgb(49, 0, 34) |
| HSL | hsl(318, 100%, 10%) |
| OKLCH | oklch(20.9% 0.089 343.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 #310022 | 18.20:1 | AAA | Lc -106.4 | Preferred for body text |
| Black text on #310022 | 1.15:1 | Fails | Lc 0.0 | Not readable |
| #310022 text on white | 18.20:1 | AAA | Lc 104.1 | Preferred for body text |
| #310022 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
#FDF2F8
oklch(97.1% 0.014 343.2)
-
Step 100
100
#FAE2EF
oklch(93.6% 0.031 343.8)
-
Step 200
200
#F6CAE3
oklch(88.4% 0.059 343.3)
-
Step 300
300
#F1A5D2
oklch(80.9% 0.106 343.4)
-
Step 400
400
#E770BB
oklch(70.7% 0.17 343.7)
-
Step 500
500
#DC41A9
oklch(63.1% 0.216 344)
-
Step 600
600
#C70695
oklch(55.6% 0.236 343.6)
-
Step 700
700
#A9007D
oklch(49.1% 0.21 344)
-
Step 800
800
#8B0267
oklch(42.7% 0.181 343.7)
-
Step 900
900
#701454
oklch(37.7% 0.142 343.6)
-
Step 950
950 (this color)
#310022
oklch(20.9% 0.089 343.8)
#310022 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) | #051023 | 0.102 |
| Deuteranopia (no green cones) | #151821 | 0.086 |
| Tritanopia (no blue cones) | #350010 | 0.038 |
| Achromatopsia (no color) | #151515 | 0.090 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #310022
#310022
oklch(20.9% 0.089 343.8)
- #001E12
#001E12
oklch(20.8% 0.045 163.5)
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 #310022, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Plum #3F012C ΔE 0.040
- Very Dark Purple #2A0134 ΔE 0.042
- Eggplant #380835 ΔE 0.043
- Aubergine #3D0734 ΔE 0.047
- Midnight Purple #280137 ΔE 0.050
- Dark Purple #35063E ΔE 0.055
- Deep Purple #36013F ΔE 0.057
- Dark Maroon #3C0008 ΔE 0.059
Use #310022 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.