#5A415E
Closest named color: Purple Brown (#673A3F). oklch(41.4% 0.057 321.8), rgb(90, 65, 94).
Aa
White text reads best on this color (8.92:1).
About this color
#5A415E is a dark, muted purple. In OKLCH its lightness is 41%, its chroma 0.057 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.053 away. White text reads best on it, at 8.92:1.
| Hue family | Purples |
| Lightness | dark (41%) |
| Chroma | muted (0.057) |
| Temperature | in between |
| Nearest name | Purple Brown (#673A3F) |
| Black text | 2.35:1 |
| White text | 8.92:1 |
Values
| HEX | #5A415E |
| RGB | rgb(90, 65, 94) |
| HSL | hsl(292, 18%, 31%) |
| OKLCH | oklch(41.4% 0.057 321.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 #5A415E | 8.92:1 | AAA | Lc -94.8 | Preferred for body text |
| Black text on #5A415E | 2.35:1 | Fails | Lc 13.6 | Not readable |
| #5A415E text on white | 8.92:1 | AAA | Lc 90.4 | Preferred for body text |
| #5A415E 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
#EDE8EE
oklch(93.7% 0.01 320.5)
-
Step 200
200
#DFD5E1
oklch(88.5% 0.019 320.6)
-
Step 300
300
#CBBACE
oklch(80.9% 0.033 321.2)
-
Step 400
400
#B196B5
oklch(70.7% 0.054 321.9)
-
Step 500
500
#9D7CA2
oklch(63.1% 0.068 321.9)
-
Step 600
600
#88658D
oklch(55.7% 0.073 322.2)
-
Step 700
700
#735478
oklch(49.2% 0.068 321.7)
-
Step 800
800 (this color)
#5A415E
oklch(41.4% 0.057 321.8)
-
Step 900
900
#4D3A50
oklch(37.8% 0.044 321.8)
-
Step 950
950
#2D222F
oklch(27% 0.028 321.1)
#5A415E 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) | #3E485F | 0.049 |
| Deuteranopia (no green cones) | #444B5D | 0.046 |
| Tritanopia (no blue cones) | #5B444B | 0.036 |
| Achromatopsia (no color) | #4A4A4A | 0.057 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A415E
#5A415E
oklch(41.4% 0.057 321.8)
- #395336
#395336
oklch(41.3% 0.057 142)
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 #5A415E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Brown #673A3F ΔE 0.053
- Brownish Purple #76424E ΔE 0.060
- Dusty Grape #545775 ΔE 0.065
- Dusk #4E5481 ΔE 0.070
- Charcoal Grey #3C4142 ΔE 0.074
- Dark Grey Blue #29465B ΔE 0.077
- Twilight #4E518B ΔE 0.079
- YInMn Blue #415A77 ΔE 0.079
Use #5A415E 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.