#5A2AC0#5A2AC0
#5A2AC0 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.213 H 289.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5A2AC0 |
|---|---|
| RGB | rgb(90, 42, 192) |
| HSL | hsl(259, 64%, 46%) |
| HSV | hsv(259, 78%, 75%) |
| CMYK | cmyk(53.1%, 78.1%, 0%, 24.7%) |
| CIE-LAB | lab(33.21, 55.40, -70.03) |
| CIE-LCH | lch(33.21, 89.30, 308.34°) |
| OKLab | oklab(44.93% 0.0707 -0.2014) |
| OKLCH | oklch(44.93% 0.213 289.3) |
| XYZ | xyz(14.5561, 7.6347, 50.5656) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.22
Blurple
#5539CC
ΔE00 3.67
Violet Blue
#510AC9
ΔE00 3.91
Blue With A Hint Of Purple
#533CC6
ΔE00 4.09
Blue Violet
#5D06E9
ΔE00 5.20
Bluey Purple
#6241C7
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A2AC0 #90C02A
analogous
#2A45C0 #5A2AC0 #A52AC0
triadic
#5A2AC0 #C05A2A #2AC05A
tetradic
#5A2AC0 #C02A45 #90C02A #2AC0A5
square
#5A2AC0 #C02A45 #90C02A #2AC0A5
split-complementary
#5A2AC0 #C0A52A #45C02A
monochromatic
#2B145C #421F8E #5A2AC0 #7B4FD8 #A081E3
Accessibility & contrast
On white
8.31
#5A2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#5A2AC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A2AC0
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A2AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A2AC0 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#004ABD
Tritanopia (blue-blind)
#325575
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #5a2ac0; /* rgb */ color: rgb(90, 42, 192); /* oklch */ color: oklch(44.9% 0.213 289.3);
Tailwind
colors: {
custom: {
50: '#946ad4',
500: '#5a2ac0',
950: '#000000',
},
}SCSS
$custom: #5a2ac0; $custom-light: #946ad4; $custom-dark: #000000;
JSON
{
"hex": "#5a2ac0",
"rgb": {
"r": 90,
"g": 42,
"b": 192
},
"hsl": {
"h": 259.2,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.44934,
"c": 0.21345,
"h": 289.3
},
"luminance": 0.07635
}Semantic roles & 50–950 ramp
primary
#5A2AC0
secondary
#B2CC7A
accent
#E741B2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83