#5B415E
Closest named color: Purple Brown (#673A3F). oklch(41.5% 0.058 323), rgb(91, 65, 94).
Aa
White text reads best on this color (8.88:1).
About this color
#5B415E is a dark, muted purple. In OKLCH its lightness is 42%, its chroma 0.058 and its hue 323°. 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.88:1.
| Hue family | Purples |
| Lightness | dark (42%) |
| Chroma | muted (0.058) |
| Temperature | in between |
| Nearest name | Purple Brown (#673A3F) |
| Black text | 2.36:1 |
| White text | 8.88:1 |
Values
| HEX | #5B415E |
| RGB | rgb(91, 65, 94) |
| HSL | hsl(294, 18%, 31%) |
| OKLCH | oklch(41.5% 0.058 323) |
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 #5B415E | 8.88:1 | AAA | Lc -94.7 | Preferred for body text |
| Black text on #5B415E | 2.36:1 | Fails | Lc 13.7 | Not readable |
| #5B415E text on white | 8.88:1 | AAA | Lc 90.3 | Preferred for body text |
| #5B415E text on black | 2.36:1 | Fails | Lc -12.0 | 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
#DFD5E0
oklch(88.4% 0.018 323)
-
Step 300
300
#CCBACD
oklch(81% 0.033 324.3)
-
Step 400
400
#B196B4
oklch(70.7% 0.053 322.9)
-
Step 500
500
#9E7CA2
oklch(63.2% 0.068 322.9)
-
Step 600
600
#89648D
oklch(55.6% 0.076 323.2)
-
Step 700
700
#745378
oklch(49.1% 0.07 322.9)
-
Step 800
800 (this color)
#5B415E
oklch(41.5% 0.058 323)
-
Step 900
900
#4D3A50
oklch(37.8% 0.044 321.8)
-
Step 950
950
#2D222F
oklch(27% 0.028 321.1)
#5B415E 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.051 |
| Deuteranopia (no green cones) | #444B5D | 0.047 |
| Tritanopia (no blue cones) | #5C444B | 0.036 |
| Achromatopsia (no color) | #4A4A4A | 0.058 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B415E
#5B415E
oklch(41.5% 0.058 323)
- #395437
#395437
oklch(41.6% 0.057 142.8)
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 #5B415E, 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.058
- Dusty Grape #545775 ΔE 0.065
- Dusk #4E5481 ΔE 0.070
- Charcoal Grey #3C4142 ΔE 0.075
- Dark Grey Blue #29465B ΔE 0.079
- Twilight #4E518B ΔE 0.079
- YInMn Blue #415A77 ΔE 0.079
Use #5B415E 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.