#5F405C
Closest named color: Purple Brown (#673A3F). oklch(41.7% 0.06 330), rgb(95, 64, 92).
Aa
White text reads best on this color (8.84:1).
About this color
#5F405C is a dark, muted purple. In OKLCH its lightness is 42%, its chroma 0.060 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.047 away. White text reads best on it, at 8.84:1.
| Hue family | Purples |
| Lightness | dark (42%) |
| Chroma | muted (0.060) |
| Temperature | in between |
| Nearest name | Purple Brown (#673A3F) |
| Black text | 2.37:1 |
| White text | 8.84:1 |
Values
| HEX | #5F405C |
| RGB | rgb(95, 64, 92) |
| HSL | hsl(306, 19%, 31%) |
| OKLCH | oklch(41.7% 0.06 330) |
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 #5F405C | 8.84:1 | AAA | Lc -94.6 | Preferred for body text |
| Black text on #5F405C | 2.37:1 | Fails | Lc 13.8 | Not readable |
| #5F405C text on white | 8.84:1 | AAA | Lc 90.2 | Preferred for body text |
| #5F405C text on black | 2.37:1 | Fails | Lc -12.1 | 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
#F7F4F7
oklch(97% 0.005 325.6)
-
Step 100
100
#EEE7ED
oklch(93.5% 0.011 330.2)
-
Step 200
200
#E1D5DF
oklch(88.6% 0.019 331.1)
-
Step 300
300
#CEB9CC
oklch(80.9% 0.035 328.9)
-
Step 400
400
#B594B2
oklch(70.6% 0.057 329.1)
-
Step 500
500
#A37A9E
oklch(63.2% 0.071 330.6)
-
Step 600
600
#8E6289
oklch(55.6% 0.079 330.6)
-
Step 700
700
#785175
oklch(49% 0.074 329.3)
-
Step 800
800 (this color)
#5F405C
oklch(41.7% 0.06 330)
-
Step 900
900
#50384E
oklch(37.6% 0.049 329.3)
-
Step 950
950
#2F212D
oklch(27% 0.03 331.3)
#5F405C 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) | #3F485D | 0.057 |
| Deuteranopia (no green cones) | #464C5B | 0.053 |
| Tritanopia (no blue cones) | #61424A | 0.033 |
| Achromatopsia (no color) | #4A4A4A | 0.061 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F405C
#5F405C
oklch(41.7% 0.06 330)
- #33563A
#33563A
oklch(41.8% 0.062 149.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 #5F405C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Brown #673A3F ΔE 0.047
- Brownish Purple #76424E ΔE 0.051
- Dusty Grape #545775 ΔE 0.068
- Dusk #4E5481 ΔE 0.075
- Charcoal Grey #3C4142 ΔE 0.079
- Twilight #4E518B ΔE 0.084
- YInMn Blue #415A77 ΔE 0.085
- Dark Grey Blue #29465B ΔE 0.086
Use #5F405C 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.