#5B4AA2
Closest named color: Blueberry (#464196). oklch(47.2% 0.137 289), rgb(91, 74, 162).
Aa
White text reads best on this color (7.12:1).
About this color
#5B4AA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.137 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.047 away. White text reads best on it, at 7.12:1.
| Hue family | Purples |
| Lightness | medium-dark (47%) |
| Chroma | moderately saturated (0.137) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.94:1 |
| White text | 7.12:1 |
Values
| HEX | #5B4AA2 |
| RGB | rgb(91, 74, 162) |
| HSL | hsl(252, 37%, 46%) |
| OKLCH | oklch(47.2% 0.137 289) |
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 #5B4AA2 | 7.12:1 | AAA | Lc -89.4 | Fine for body text |
| Black text on #5B4AA2 | 2.94:1 | Fails | Lc 19.5 | Dividers and decoration only |
| #5B4AA2 text on white | 7.12:1 | AAA | Lc 84.5 | Fine for body text |
| #5B4AA2 text on black | 2.94:1 | Fails | Lc -17.5 | 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
#F5F5FB
oklch(97.2% 0.008 286.3)
-
Step 100
100
#E9E8F6
oklch(93.6% 0.019 289.3)
-
Step 200
200
#D8D6F1
oklch(88.6% 0.037 289)
-
Step 300
300
#BEBAE9
oklch(80.8% 0.066 288.7)
-
Step 400
400
#9E95DF
oklch(70.6% 0.107 288.9)
-
Step 500
500
#887AD5
oklch(63.2% 0.134 289)
-
Step 600
600
#7261C3
oklch(55.6% 0.147 288.6)
-
Step 700
700 (this color)
#5B4AA2
oklch(47.2% 0.137 289)
-
Step 800
800
#4E4288
oklch(42.7% 0.112 288.6)
-
Step 900
900
#41386D
oklch(37.7% 0.088 289.2)
-
Step 950
950
#262140
oklch(27% 0.057 289.5)
#5B4AA2 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) | #1F5AA5 | 0.076 |
| Deuteranopia (no green cones) | #2156A0 | 0.074 |
| Tritanopia (no blue cones) | #465D6F | 0.113 |
| Achromatopsia (no color) | #585858 | 0.137 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B4AA2
#5B4AA2
oklch(47.2% 0.137 289)
- #605F00
#605F00
oklch(47.1% 0.102 109)
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 #5B4AA2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.047
- Twilight #4E518B ΔE 0.048
- Rebecca Purple #663399 ΔE 0.054
- Dark Slate Blue #483D8B ΔE 0.059
- Iris #6258C4 ΔE 0.063
- Bluey Purple #6241C7 ΔE 0.063
- Dusk #4E5481 ΔE 0.067
- Blue With A Hint Of Purple #533CC6 ΔE 0.068
Use #5B4AA2 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.