#5B2CC0#5B2CC0
#5B2CC0 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.212 H 289.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5B2CC0 |
|---|---|
| RGB | rgb(91, 44, 192) |
| HSL | hsl(259, 63%, 46%) |
| HSV | hsv(259, 77%, 75%) |
| CMYK | cmyk(52.6%, 77.1%, 0%, 24.7%) |
| CIE-LAB | lab(33.63, 54.64, -69.34) |
| CIE-LCH | lch(33.63, 88.28, 308.24°) |
| OKLab | oklab(45.25% 0.0707 -0.1994) |
| OKLCH | oklch(45.25% 0.212 289.5) |
| XYZ | xyz(14.7267, 7.8306, 50.5944) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.36
Blurple
#5539CC
ΔE00 3.39
Blue With A Hint Of Purple
#533CC6
ΔE00 3.79
Violet Blue
#510AC9
ΔE00 4.29
Bluey Purple
#6241C7
ΔE00 4.83
Blue Violet
#5D06E9
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B2CC0 #91C02C
analogous
#2C47C0 #5B2CC0 #A52CC0
triadic
#5B2CC0 #C05B2C #2CC05B
tetradic
#5B2CC0 #C02C47 #91C02C #2CC0A5
square
#5B2CC0 #C02C47 #91C02C #2CC0A5
split-complementary
#5B2CC0 #C0A52C #47C02C
monochromatic
#2C155C #43218E #5B2CC0 #7C52D7 #A284E3
Accessibility & contrast
On white
8.18
#5B2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#5B2CC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B2CC0
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B2CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B2CC0 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#355675
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #5b2cc0; /* rgb */ color: rgb(91, 44, 192); /* oklch */ color: oklch(45.3% 0.212 289.5);
Tailwind
colors: {
custom: {
50: '#946bd4',
500: '#5b2cc0',
950: '#000000',
},
}SCSS
$custom: #5b2cc0; $custom-light: #946bd4; $custom-dark: #000000;
JSON
{
"hex": "#5b2cc0",
"rgb": {
"r": 91,
"g": 44,
"b": 192
},
"hsl": {
"h": 259.054,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.4525,
"c": 0.21155,
"h": 289.5
},
"luminance": 0.07831
}Semantic roles & 50–950 ramp
primary
#5B2CC0
secondary
#B2CC7C
accent
#E642B2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83