#5C2BBD#5C2BBD
#5C2BBD is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.209 H 290.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2BBD |
|---|---|
| RGB | rgb(92, 43, 189) |
| HSL | hsl(260, 63%, 45%) |
| HSV | hsv(260, 77%, 74%) |
| CMYK | cmyk(51.3%, 77.2%, 0%, 25.9%) |
| CIE-LAB | lab(33.30, 54.42, -68.11) |
| CIE-LCH | lch(33.30, 87.18, 308.62°) |
| OKLab | oklab(44.96% 0.0739 -0.1957) |
| OKLCH | oklch(44.96% 0.209 290.7) |
| XYZ | xyz(14.4602, 7.6766, 48.8541) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.60
Blurple
#5539CC
ΔE00 3.84
Blue With A Hint Of Purple
#533CC6
ΔE00 4.17
Violet Blue
#510AC9
ΔE00 4.24
Bluey Purple
#6241C7
ΔE00 5.12
Blue Violet
#5D06E9
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2BBD #8CBD2B
analogous
#2B43BD #5C2BBD #A52BBD
triadic
#5C2BBD #BD5C2B #2BBD5C
tetradic
#5C2BBD #BD2B43 #8CBD2B #2BBDA5
square
#5C2BBD #BD2B43 #8CBD2B #2BBDA5
split-complementary
#5C2BBD #BDA52B #43BD2B
monochromatic
#2B1459 #44208B #5C2BBD #7C4ED7 #A180E2
Accessibility & contrast
On white
8.28
#5C2BBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#5C2BBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2BBD
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2BBD | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#395473
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #5c2bbd; /* rgb */ color: rgb(92, 43, 189); /* oklch */ color: oklch(45.0% 0.209 290.7);
Tailwind
colors: {
custom: {
50: '#946ad2',
500: '#5c2bbd',
950: '#000000',
},
}SCSS
$custom: #5c2bbd; $custom-light: #946ad2; $custom-dark: #000000;
JSON
{
"hex": "#5c2bbd",
"rgb": {
"r": 92,
"g": 43,
"b": 189
},
"hsl": {
"h": 260.137,
"s": 62.931,
"l": 45.49
},
"oklch": {
"l": 0.44962,
"c": 0.20919,
"h": 290.7
},
"luminance": 0.07677
}Semantic roles & 50–950 ramp
primary
#5C2BBD
secondary
#AFCB79
accent
#E642AF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83