#5A3AB3
Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(45.8% 0.181 289.4), rgb(90, 58, 179).
Aa
White text reads best on this color (7.80:1).
About this color
#5A3AB3 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.181 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.033 away. White text reads best on it, at 7.80:1.
| Hue family | Purples |
| Lightness | medium-dark (46%) |
| Chroma | vivid (0.181) |
| Temperature | cool |
| Nearest name | Blue With A Hint Of Purple (#533CC6) |
| Black text | 2.69:1 |
| White text | 7.80:1 |
Values
| HEX | #5A3AB3 |
| RGB | rgb(90, 58, 179) |
| HSL | hsl(256, 51%, 46%) |
| OKLCH | oklch(45.8% 0.181 289.4) |
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 #5A3AB3 | 7.80:1 | AAA | Lc -91.3 | Preferred for body text |
| Black text on #5A3AB3 | 2.69:1 | Fails | Lc 17.5 | Dividers and decoration only |
| #5A3AB3 text on white | 7.80:1 | AAA | Lc 86.5 | Fine for body text |
| #5A3AB3 text on black | 2.69:1 | Fails | Lc -15.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 800.
-
Step 50
50
#F5F4FF
oklch(97.1% 0.015 290.3)
-
Step 100
100
#E9E7FE
oklch(93.6% 0.031 289.8)
-
Step 200
200
#D7D3FE
oklch(88.4% 0.059 289.4)
-
Step 300
300
#BFB6FF
oklch(81% 0.102 289.6)
-
Step 400
400
#A08CFF
oklch(70.8% 0.164 289.5)
-
Step 500
500
#8B69FF
oklch(63.1% 0.213 289.3)
-
Step 600
600
#7848F0
oklch(55.6% 0.236 289.6)
-
Step 700
700
#6537D1
oklch(49.1% 0.219 289.4)
-
Step 800
800 (this color)
#5A3AB3
oklch(45.8% 0.181 289.4)
-
Step 900
900
#432D86
oklch(37.8% 0.141 289.2)
-
Step 950
950
#271B4E
oklch(26.9% 0.09 289.8)
#5A3AB3 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) | #0054B7 | 0.097 |
| Deuteranopia (no green cones) | #004FB1 | 0.095 |
| Tritanopia (no blue cones) | #3C5872 | 0.146 |
| Achromatopsia (no color) | #525252 | 0.182 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A3AB3
#5A3AB3
oklch(45.8% 0.181 289.4)
- #5C5B00
#5C5B00
oklch(45.7% 0.099 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 #5A3AB3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue With A Hint Of Purple #533CC6 ΔE 0.033
- Bluey Purple #6241C7 ΔE 0.038
- Blurple #5539CC ΔE 0.041
- Rebecca Purple #663399 ΔE 0.050
- Purple Blue #5D21D0 ΔE 0.056
- Majorelle Blue #3F37C9 ΔE 0.058
- Blueberry #464196 ΔE 0.059
- Chrysanthemum #560BAD ΔE 0.067
Use #5A3AB3 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.