#5D4E71
Closest named color: Dusty Grape (#545775). oklch(45.3% 0.059 303.8), rgb(93, 78, 113).
Aa
White text reads best on this color (7.51:1).
About this color
#5D4E71 is a medium-dark, muted purple. In OKLCH its lightness is 45%, its chroma 0.059 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Grape (#545775), ΔE 0.028 away. White text reads best on it, at 7.51:1.
| Hue family | Purples |
| Lightness | medium-dark (45%) |
| Chroma | muted (0.059) |
| Temperature | in between |
| Nearest name | Dusty Grape (#545775) |
| Black text | 2.79:1 |
| White text | 7.51:1 |
Values
| HEX | #5D4E71 |
| RGB | rgb(93, 78, 113) |
| HSL | hsl(266, 18%, 37%) |
| OKLCH | oklch(45.3% 0.059 303.8) |
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 #5D4E71 | 7.51:1 | AAA | Lc -90.9 | Preferred for body text |
| Black text on #5D4E71 | 2.79:1 | Fails | Lc 17.9 | Dividers and decoration only |
| #5D4E71 text on white | 7.51:1 | AAA | Lc 86.1 | Fine for body text |
| #5D4E71 text on black | 2.79:1 | Fails | Lc -16.0 | Dividers and decoration only |
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
#F6F5F8
oklch(97.2% 0.004 301.4)
-
Step 100
100
#EBE8EF
oklch(93.5% 0.01 305.4)
-
Step 200
200
#DCD6E4
oklch(88.5% 0.02 305.2)
-
Step 300
300
#C5BCD3
oklch(81% 0.033 303.4)
-
Step 400
400
#A899BD
oklch(70.8% 0.054 304)
-
Step 500
500
#927FAD
oklch(63.1% 0.071 303.3)
-
Step 600
600
#7D6898
oklch(55.6% 0.077 304.1)
-
Step 700
700
#695782
oklch(49.2% 0.07 303.1)
-
Step 800
800 (this color)
#5D4E71
oklch(45.3% 0.059 303.8)
-
Step 900
900
#473C56
oklch(37.8% 0.046 303.6)
-
Step 950
950
#292332
oklch(27% 0.029 302.8)
#5D4E71 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) | #475472 | 0.037 |
| Deuteranopia (no green cones) | #4A5470 | 0.034 |
| Tritanopia (no blue cones) | #5A535A | 0.046 |
| Achromatopsia (no color) | #545454 | 0.059 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5D4E71
#5D4E71
oklch(45.3% 0.059 303.8)
- #4F5C37
#4F5C37
oklch(45.3% 0.059 124.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 #5D4E71, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusty Grape #545775 ΔE 0.028
- Dusk #4E5481 ΔE 0.034
- Twilight #4E518B ΔE 0.047
- YInMn Blue #415A77 ΔE 0.050
- Dusky Blue #475F94 ΔE 0.069
- Slate #516572 ΔE 0.069
- Brownish Purple #76424E ΔE 0.069
- Denim Blue #3B5B92 ΔE 0.071
Use #5D4E71 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.