#5D405C
Closest named color: Purple Brown (#673A3F). oklch(41.5% 0.059 327.7), rgb(93, 64, 92).
Aa
White text reads best on this color (8.92:1).
About this color
#5D405C is a dark, muted purple. In OKLCH its lightness is 41%, its chroma 0.059 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.049 away. White text reads best on it, at 8.92:1.
| Hue family | Purples |
| Lightness | dark (41%) |
| Chroma | muted (0.059) |
| Temperature | in between |
| Nearest name | Purple Brown (#673A3F) |
| Black text | 2.35:1 |
| White text | 8.92:1 |
Values
| HEX | #5D405C |
| RGB | rgb(93, 64, 92) |
| HSL | hsl(302, 18%, 31%) |
| OKLCH | oklch(41.5% 0.059 327.7) |
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 #5D405C | 8.92:1 | AAA | Lc -94.8 | Preferred for body text |
| Black text on #5D405C | 2.35:1 | Fails | Lc 13.6 | Not readable |
| #5D405C text on white | 8.92:1 | AAA | Lc 90.4 | Preferred for body text |
| #5D405C text on black | 2.35:1 | Fails | Lc -11.9 | 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
#EEE8ED
oklch(93.7% 0.009 331)
-
Step 200
200
#E0D5E0
oklch(88.5% 0.019 325.7)
-
Step 300
300
#CDB9CC
oklch(80.8% 0.034 327.4)
-
Step 400
400
#B495B2
oklch(70.7% 0.055 328.2)
-
Step 500
500
#A17B9F
oklch(63.2% 0.069 328.1)
-
Step 600
600
#8C638A
oklch(55.6% 0.077 328.2)
-
Step 700
700
#775275
oklch(49.1% 0.071 328.4)
-
Step 800
800 (this color)
#5D405C
oklch(41.5% 0.059 327.7)
-
Step 900
900
#4F394E
oklch(37.7% 0.046 327.9)
-
Step 950
950
#2E212E
oklch(26.9% 0.03 326.4)
#5D405C 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) | #3E475D | 0.054 |
| Deuteranopia (no green cones) | #454B5B | 0.050 |
| Tritanopia (no blue cones) | #5F424A | 0.033 |
| Achromatopsia (no color) | #4A4A4A | 0.059 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5D405C
#5D405C
oklch(41.5% 0.059 327.7)
- #355439
#355439
oklch(41.3% 0.058 147.6)
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 #5D405C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Brown #673A3F ΔE 0.049
- Brownish Purple #76424E ΔE 0.055
- Dusty Grape #545775 ΔE 0.068
- Dusk #4E5481 ΔE 0.074
- Charcoal Grey #3C4142 ΔE 0.076
- Dark Grey Blue #29465B ΔE 0.082
- Twilight #4E518B ΔE 0.083
- YInMn Blue #415A77 ΔE 0.084
Use #5D405C 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.