#5A2CC0#5A2CC0
#5A2CC0 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.212 H 289.1°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5A2CC0 |
|---|---|
| RGB | rgb(90, 44, 192) |
| HSL | hsl(259, 63%, 46%) |
| HSV | hsv(259, 77%, 75%) |
| CMYK | cmyk(53.1%, 77.1%, 0%, 24.7%) |
| CIE-LAB | lab(33.52, 54.50, -69.52) |
| CIE-LCH | lch(33.52, 88.34, 308.09°) |
| OKLab | oklab(45.15% 0.0693 -0.1999) |
| OKLCH | oklch(45.15% 0.212 289.1) |
| XYZ | xyz(14.6288, 7.7801, 50.5898) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.37
Blurple
#5539CC
ΔE00 3.36
Blue With A Hint Of Purple
#533CC6
ΔE00 3.75
Violet Blue
#510AC9
ΔE00 4.24
Bluey Purple
#6241C7
ΔE00 4.87
Blue Violet
#5D06E9
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A2CC0 #92C02C
analogous
#2C48C0 #5A2CC0 #A42CC0
triadic
#5A2CC0 #C05A2C #2CC05A
tetradic
#5A2CC0 #C02C48 #92C02C #2CC0A4
square
#5A2CC0 #C02C48 #92C02C #2CC0A4
split-complementary
#5A2CC0 #C0A42C #48C02C
monochromatic
#2B155C #43218E #5A2CC0 #7B52D7 #A184E3
Accessibility & contrast
On white
8.22
#5A2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#5A2CC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A2CC0
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A2CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A2CC0 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#325675
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #5a2cc0; /* rgb */ color: rgb(90, 44, 192); /* oklch */ color: oklch(45.2% 0.212 289.1);
Tailwind
colors: {
custom: {
50: '#936bd4',
500: '#5a2cc0',
950: '#000000',
},
}SCSS
$custom: #5a2cc0; $custom-light: #936bd4; $custom-dark: #000000;
JSON
{
"hex": "#5a2cc0",
"rgb": {
"r": 90,
"g": 44,
"b": 192
},
"hsl": {
"h": 258.649,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.45151,
"c": 0.21158,
"h": 289.1
},
"luminance": 0.07781
}Semantic roles & 50–950 ramp
primary
#5A2CC0
secondary
#B3CC7C
accent
#E642B3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83