#310F3A
Closest named color: Dark Purple (#35063E). oklch(24.6% 0.085 318.6), rgb(49, 15, 58).
Aa
White text reads best on this color (16.66:1).
About this color
#310F3A is a very dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.085 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.020 away. White text reads best on it, at 16.66:1.
| Hue family | Purples |
| Lightness | very dark (25%) |
| Chroma | moderately saturated (0.085) |
| Temperature | in between |
| Nearest name | Dark Purple (#35063E) |
| Black text | 1.26:1 |
| White text | 16.66:1 |
Values
| HEX | #310F3A |
| RGB | rgb(49, 15, 58) |
| HSL | hsl(287, 59%, 14%) |
| OKLCH | oklch(24.6% 0.085 318.6) |
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 #310F3A | 16.66:1 | AAA | Lc -105.7 | Preferred for body text |
| Black text on #310F3A | 1.26:1 | Fails | Lc 0.0 | Not readable |
| #310F3A text on white | 16.66:1 | AAA | Lc 103.2 | Preferred for body text |
| #310F3A text on black | 1.26: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
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F3E4F7
oklch(93.6% 0.03 319.1)
-
Step 200
200
#E9CEF1
oklch(88.5% 0.055 318.4)
-
Step 300
300
#DDACEB
oklch(81% 0.101 318.6)
-
Step 400
400
#CB7CE0
oklch(70.7% 0.163 319)
-
Step 500
500
#BC55D7
oklch(63% 0.207 318.8)
-
Step 600
600
#A733C5
oklch(55.6% 0.225 318.4)
-
Step 700
700
#8F23AA
oklch(49.1% 0.209 318.4)
-
Step 800
800
#74208A
oklch(42.6% 0.174 318.2)
-
Step 900
900
#5E226E
oklch(37.7% 0.135 318.5)
-
Step 950
950 (this color)
#310F3A
oklch(24.6% 0.085 318.6)
#310F3A 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) | #031C3B | 0.084 |
| Deuteranopia (no green cones) | #111F39 | 0.072 |
| Tritanopia (no blue cones) | #311622 | 0.054 |
| Achromatopsia (no color) | #1E1E1E | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #310F3A
#310F3A
oklch(24.6% 0.085 318.6)
- #092900
#092900
oklch(24.7% 0.078 138.8)
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 #310F3A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Purple #35063E ΔE 0.020
- Eggplant #380835 ΔE 0.021
- Deep Purple #36013F ΔE 0.028
- Aubergine #3D0734 ΔE 0.032
- Very Dark Purple #2A0134 ΔE 0.038
- Midnight Purple #280137 ΔE 0.040
- Eggplant Purple #430541 ΔE 0.044
- Dark Plum #3F012C ΔE 0.046
Use #310F3A 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.