#5B5877
Closest named color: Dusty Grape (#545775). oklch(47.6% 0.05 288.8), rgb(91, 88, 119).
Aa
White text reads best on this color (6.75:1).
About this color
#5B5877 is a medium-dark, muted purple. In OKLCH its lightness is 48%, its chroma 0.050 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Grape (#545775), ΔE 0.012 away. White text reads best on it, at 6.75:1.
| Hue family | Purples |
| Lightness | medium-dark (48%) |
| Chroma | muted (0.050) |
| Temperature | cool |
| Nearest name | Dusty Grape (#545775) |
| Black text | 3.10:1 |
| White text | 6.75:1 |
Values
| HEX | #5B5877 |
| RGB | rgb(91, 88, 119) |
| HSL | hsl(246, 15%, 41%) |
| OKLCH | oklch(47.6% 0.05 288.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 #5B5877 | 6.75:1 | AA | Lc -88.3 | Fine for body text |
| Black text on #5B5877 | 3.10:1 | AA large text | Lc 20.7 | Dividers and decoration only |
| #5B5877 text on white | 6.75:1 | AA | Lc 83.3 | Fine for body text |
| #5B5877 text on black | 3.10:1 | AA large text | Lc -18.6 | 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 700.
-
Step 50
50
#F5F5F7
oklch(97.1% 0.003 286.4)
-
Step 100
100
#E9E9EE
oklch(93.5% 0.007 286.3)
-
Step 200
200
#D8D8E2
oklch(88.5% 0.014 286.1)
-
Step 300
300
#C0BED0
oklch(80.9% 0.025 290.9)
-
Step 400
400
#9F9DB8
oklch(70.7% 0.039 288.8)
-
Step 500
500
#8885A6
oklch(63.1% 0.049 289.1)
-
Step 600
600
#726F91
oklch(55.7% 0.052 288.6)
-
Step 700
700 (this color)
#5B5877
oklch(47.6% 0.05 288.8)
-
Step 800
800
#4E4C64
oklch(42.8% 0.039 288.4)
-
Step 900
900
#413F52
oklch(37.7% 0.032 289.6)
-
Step 950
950
#262530
oklch(27% 0.02 289.1)
#5B5877 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) | #505C78 | 0.019 |
| Deuteranopia (no green cones) | #505B76 | 0.018 |
| Tritanopia (no blue cones) | #555D63 | 0.042 |
| Achromatopsia (no color) | #5B5B5B | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B5877
#5B5877
oklch(47.6% 0.05 288.8)
- #5E5F3E
#5E5F3E
oklch(47.6% 0.05 109.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 #5B5877, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusty Grape #545775 ΔE 0.012
- Dusk #4E5481 ΔE 0.031
- YInMn Blue #415A77 ΔE 0.037
- Slate #516572 ΔE 0.044
- Twilight #4E518B ΔE 0.048
- Dusky Blue #475F94 ΔE 0.052
- Denim #3B638C ΔE 0.053
- Denim Blue #3B5B92 ΔE 0.058
Use #5B5877 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.