#5A4971
Closest named color: Dusk (#4E5481). oklch(44% 0.067 303.3), rgb(90, 73, 113).
Aa
White text reads best on this color (7.99:1).
About this color
#5A4971 is a dark, muted purple. In OKLCH its lightness is 44%, its chroma 0.067 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.038 away. White text reads best on it, at 7.99:1.
| Hue family | Purples |
| Lightness | dark (44%) |
| Chroma | muted (0.067) |
| Temperature | in between |
| Nearest name | Dusk (#4E5481) |
| Black text | 2.62:1 |
| White text | 7.99:1 |
Values
| HEX | #5A4971 |
| RGB | rgb(90, 73, 113) |
| HSL | hsl(266, 22%, 36%) |
| OKLCH | oklch(44% 0.067 303.3) |
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 #5A4971 | 7.99:1 | AAA | Lc -92.4 | Preferred for body text |
| Black text on #5A4971 | 2.62:1 | Fails | Lc 16.3 | Dividers and decoration only |
| #5A4971 text on white | 7.99:1 | AAA | Lc 87.7 | Fine for body text |
| #5A4971 text on black | 2.62:1 | Fails | Lc -14.5 | 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
#F6F5F8
oklch(97.2% 0.004 301.4)
-
Step 100
100
#EBE8F0
oklch(93.6% 0.011 303.1)
-
Step 200
200
#DCD6E5
oklch(88.5% 0.021 304)
-
Step 300
300
#C6BBD6
oklch(81% 0.039 304)
-
Step 400
400
#A897C1
oklch(70.6% 0.063 303.3)
-
Step 500
500
#937EB2
oklch(63.2% 0.08 302.7)
-
Step 600
600
#7E669D
oklch(55.5% 0.087 303.7)
-
Step 700
700
#6A5587
oklch(49.1% 0.082 302.8)
-
Step 800
800 (this color)
#5A4971
oklch(44% 0.067 303.3)
-
Step 900
900
#473B59
oklch(37.8% 0.052 302.3)
-
Step 950
950
#2A2234
oklch(26.9% 0.035 304.5)
#5A4971 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) | #405073 | 0.043 |
| Deuteranopia (no green cones) | #445170 | 0.040 |
| Tritanopia (no blue cones) | #564F58 | 0.051 |
| Achromatopsia (no color) | #515151 | 0.067 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A4971
#5A4971
oklch(44% 0.067 303.3)
- #4B592D
#4B592D
oklch(44.1% 0.068 123.7)
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 #5A4971, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk #4E5481 ΔE 0.038
- Dusty Grape #545775 ΔE 0.040
- Twilight #4E518B ΔE 0.046
- YInMn Blue #415A77 ΔE 0.057
- Dark Slate Blue #483D8B ΔE 0.069
- Brownish Purple #76424E ΔE 0.073
- Denim Blue #3B5B92 ΔE 0.074
- Light Navy Blue #2E5A88 ΔE 0.074
Use #5A4971 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.