#310D3B
Closest named color: Dark Purple (#35063E). oklch(24.4% 0.09 318.1), rgb(49, 13, 59).
Aa
White text reads best on this color (16.78:1).
About this color
#310D3B is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.090 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.016 away. White text reads best on it, at 16.78:1.
| Hue family | Purples |
| Lightness | very dark (24%) |
| Chroma | moderately saturated (0.090) |
| Temperature | in between |
| Nearest name | Dark Purple (#35063E) |
| Black text | 1.25:1 |
| White text | 16.78:1 |
Values
| HEX | #310D3B |
| RGB | rgb(49, 13, 59) |
| HSL | hsl(287, 64%, 14%) |
| OKLCH | oklch(24.4% 0.09 318.1) |
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 #310D3B | 16.78:1 | AAA | Lc -105.8 | Preferred for body text |
| Black text on #310D3B | 1.25:1 | Fails | Lc 0.0 | Not readable |
| #310D3B text on white | 16.78:1 | AAA | Lc 103.3 | Preferred for body text |
| #310D3B text on black | 1.25: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
#FAF3FC
oklch(97.2% 0.014 318.7)
-
Step 100
100
#F3E4F8
oklch(93.7% 0.031 317.7)
-
Step 200
200
#EACDF3
oklch(88.4% 0.06 318.1)
-
Step 300
300
#DEABED
oklch(81% 0.106 318.4)
-
Step 400
400
#CC7AE4
oklch(70.7% 0.171 318.2)
-
Step 500
500
#BE51DC
oklch(63.1% 0.218 318.3)
-
Step 600
600
#A92CCA
oklch(55.7% 0.237 318)
-
Step 700
700
#911BAE
oklch(49.1% 0.219 318.2)
-
Step 800
800
#761B8D
oklch(42.7% 0.182 318.3)
-
Step 900
900
#5F1F71
oklch(37.7% 0.142 317.9)
-
Step 950
950 (this color)
#310D3B
oklch(24.4% 0.09 318.1)
#310D3B 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) | #001B3C | 0.089 |
| Deuteranopia (no green cones) | #0F1F3A | 0.077 |
| Tritanopia (no blue cones) | #311622 | 0.058 |
| Achromatopsia (no color) | #1D1D1D | 0.091 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #310D3B
#310D3B
oklch(24.4% 0.09 318.1)
- #0A2800
#0A2800
oklch(24.4% 0.076 138.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 #310D3B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Purple #35063E ΔE 0.016
- Eggplant #380835 ΔE 0.021
- Deep Purple #36013F ΔE 0.024
- Aubergine #3D0734 ΔE 0.032
- Very Dark Purple #2A0134 ΔE 0.035
- Midnight Purple #280137 ΔE 0.037
- Eggplant Purple #430541 ΔE 0.043
- Dark Plum #3F012C ΔE 0.046
Use #310D3B 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.