#310E3C
Closest named color: Dark Purple (#35063E). oklch(24.6% 0.089 317.1), rgb(49, 14, 60).
Aa
White text reads best on this color (16.68:1).
About this color
#310E3C is a very dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.089 and its hue 317°. 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.68:1.
| Hue family | Purples |
| Lightness | very dark (25%) |
| Chroma | moderately saturated (0.089) |
| Temperature | in between |
| Nearest name | Dark Purple (#35063E) |
| Black text | 1.25:1 |
| White text | 16.68:1 |
Values
| HEX | #310E3C |
| RGB | rgb(49, 14, 60) |
| HSL | hsl(286, 62%, 15%) |
| OKLCH | oklch(24.6% 0.089 317.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 #310E3C | 16.68:1 | AAA | Lc -105.7 | Preferred for body text |
| Black text on #310E3C | 1.25:1 | Fails | Lc 0.0 | Not readable |
| #310E3C text on white | 16.68:1 | AAA | Lc 103.2 | Preferred for body text |
| #310E3C 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
#F9F3FC
oklch(97.1% 0.013 314.8)
-
Step 100
100
#F2E4F8
oklch(93.6% 0.031 315.9)
-
Step 200
200
#E9CEF3
oklch(88.5% 0.058 316.9)
-
Step 300
300
#DDABEE
oklch(80.9% 0.107 317.4)
-
Step 400
400
#CA7BE5
oklch(70.6% 0.169 317)
-
Step 500
500
#BC53DD
oklch(63.1% 0.216 317.2)
-
Step 600
600
#A72ECB
oklch(55.6% 0.235 316.9)
-
Step 700
700
#8F1DB0
oklch(49.1% 0.219 316.8)
-
Step 800
800
#741D8E
oklch(42.7% 0.18 316.9)
-
Step 900
900
#5E2072
oklch(37.7% 0.142 316.7)
-
Step 950
950 (this color)
#310E3C
oklch(24.6% 0.089 317.1)
#310E3C 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) | #001C3D | 0.088 |
| Deuteranopia (no green cones) | #0F1F3B | 0.075 |
| Tritanopia (no blue cones) | #311723 | 0.058 |
| Achromatopsia (no color) | #1E1E1E | 0.090 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #310E3C
#310E3C
oklch(24.6% 0.089 317.1)
- #0C2800
#0C2800
oklch(24.5% 0.075 137.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 #310E3C, 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.023
- Deep Purple #36013F ΔE 0.025
- Aubergine #3D0734 ΔE 0.033
- Very Dark Purple #2A0134 ΔE 0.037
- Midnight Purple #280137 ΔE 0.039
- Eggplant Purple #430541 ΔE 0.043
- Dark Plum #3F012C ΔE 0.048
Use #310E3C 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.