#5F396D
Closest named color: Dark Slate Blue (#483D8B). oklch(41.2% 0.095 316.4), rgb(95, 57, 109).
Aa
White text reads best on this color (9.15:1).
About this color
#5F396D is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.095 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.065 away. White text reads best on it, at 9.15:1.
| Hue family | Purples |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.095) |
| Temperature | in between |
| Nearest name | Dark Slate Blue (#483D8B) |
| Black text | 2.29:1 |
| White text | 9.15:1 |
Values
| HEX | #5F396D |
| RGB | rgb(95, 57, 109) |
| HSL | hsl(284, 31%, 33%) |
| OKLCH | oklch(41.2% 0.095 316.4) |
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 #5F396D | 9.15:1 | AAA | Lc -95.3 | Preferred for body text |
| Black text on #5F396D | 2.29:1 | Fails | Lc 13.1 | Not readable |
| #5F396D text on white | 9.15:1 | AAA | Lc 90.9 | Preferred for body text |
| #5F396D text on black | 2.29:1 | Fails | Lc -11.4 | 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 800.
-
Step 50
50
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EEE7F1
oklch(93.6% 0.015 316)
-
Step 200
200
#E1D3E7
oklch(88.4% 0.031 315.9)
-
Step 300
300
#CFB6D9
oklch(80.9% 0.056 316.3)
-
Step 400
400
#B790C6
oklch(70.8% 0.088 316.5)
-
Step 500
500
#A473B7
oklch(63% 0.113 316.2)
-
Step 600
600
#8F5AA3
oklch(55.5% 0.124 316.3)
-
Step 700
700
#7A4A8C
oklch(49.1% 0.115 316.3)
-
Step 800
800 (this color)
#5F396D
oklch(41.2% 0.095 316.4)
-
Step 900
900
#51345C
oklch(37.6% 0.075 316.3)
-
Step 950
950
#2F1F36
oklch(27% 0.047 315.2)
#5F396D 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) | #30466F | 0.081 |
| Deuteranopia (no green cones) | #3A496C | 0.073 |
| Tritanopia (no blue cones) | #5F404E | 0.061 |
| Achromatopsia (no color) | #484848 | 0.095 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F396D
#5F396D
oklch(41.2% 0.095 316.4)
- #31561E
#31561E
oklch(41.1% 0.094 136.4)
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 #5F396D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Blue #483D8B ΔE 0.065
- Twilight #4E518B ΔE 0.076
- Rebecca Purple #663399 ΔE 0.077
- Dusk #4E5481 ΔE 0.077
- Brownish Purple #76424E ΔE 0.080
- Blueberry #464196 ΔE 0.080
- Purple Brown #673A3F ΔE 0.080
- Dusty Grape #545775 ΔE 0.083
Use #5F396D 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.