#5D5166
Closest named color: Dusty Grape (#545775). oklch(45.5% 0.037 310.6), rgb(93, 81, 102).
Aa
White text reads best on this color (7.40:1).
About this color
#5D5166 is a medium-dark, muted purple. In OKLCH its lightness is 45%, its chroma 0.037 and its hue 311°. 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.40:1.
| Hue family | Purples |
| Lightness | medium-dark (45%) |
| Chroma | muted (0.037) |
| Temperature | in between |
| Nearest name | Dusty Grape (#545775) |
| Black text | 2.83:1 |
| White text | 7.40:1 |
Values
| HEX | #5D5166 |
| RGB | rgb(93, 81, 102) |
| HSL | hsl(274, 11%, 36%) |
| OKLCH | oklch(45.5% 0.037 310.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 #5D5166 | 7.40:1 | AAA | Lc -90.6 | Preferred for body text |
| Black text on #5D5166 | 2.83:1 | Fails | Lc 18.3 | Dividers and decoration only |
| #5D5166 text on white | 7.40:1 | AAA | Lc 85.8 | Fine for body text |
| #5D5166 text on black | 2.83:1 | Fails | Lc -16.3 | 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
#F6F5F7
oklch(97.1% 0.003 308.4)
-
Step 100
100
#EBE9ED
oklch(93.7% 0.006 308.4)
-
Step 200
200
#DBD7DF
oklch(88.5% 0.012 308.3)
-
Step 300
300
#C5BDCB
oklch(80.9% 0.021 311)
-
Step 400
400
#A79BB1
oklch(70.7% 0.034 309.8)
-
Step 500
500
#92829E
oklch(63.1% 0.045 310.7)
-
Step 600
600
#7C6C88
oklch(55.6% 0.047 310.6)
-
Step 700
700
#695A74
oklch(49.2% 0.045 310.7)
-
Step 800
800 (this color)
#5D5166
oklch(45.5% 0.037 310.6)
-
Step 900
900
#463D4D
oklch(37.6% 0.029 310.2)
-
Step 950
950
#29242D
oklch(27% 0.018 310.1)
#5D5166 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) | #4E5567 | 0.025 |
| Deuteranopia (no green cones) | #505665 | 0.025 |
| Tritanopia (no blue cones) | #5C5458 | 0.028 |
| Achromatopsia (no color) | #555555 | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5D5166
#5D5166
oklch(45.5% 0.037 310.6)
- #505B45
#505B45
oklch(45.5% 0.037 129.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 #5D5166, 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.048
- YInMn Blue #415A77 ΔE 0.049
- Slate #516572 ΔE 0.058
- Brownish Purple #76424E ΔE 0.061
- Twilight #4E518B ΔE 0.065
- Dark Mauve #874C62 ΔE 0.075
- Purple Brown #673A3F ΔE 0.076
Use #5D5166 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.