#5C2CB0#5C2CB0
#5C2CB0 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.194 H 293.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2CB0 |
|---|---|
| RGB | rgb(92, 44, 176) |
| HSL | hsl(262, 60%, 43%) |
| HSV | hsv(262, 75%, 69%) |
| CMYK | cmyk(47.7%, 75%, 0%, 31%) |
| CIE-LAB | lab(32.28, 50.48, -62.07) |
| CIE-LCH | lch(32.28, 80.01, 309.12°) |
| OKLab | oklab(43.89% 0.0766 -0.178) |
| OKLCH | oklch(43.89% 0.194 293.3) |
| XYZ | xyz(13.1486, 7.2108, 41.7649) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.30
Rebeccapurple
#663399
ΔE00 4.72
Blurple
#5539CC
ΔE00 5.11
Blue With A Hint Of Purple
#533CC6
ΔE00 5.12
Violet Blue
#510AC9
ΔE00 5.13
Indigo Blue
#3A18B1
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2CB0 #80B02C
analogous
#2C3EB0 #5C2CB0 #9E2CB0
triadic
#5C2CB0 #B05C2C #2CB05C
tetradic
#5C2CB0 #B02C3E #80B02C #2CB09E
square
#5C2CB0 #B02C3E #80B02C #2CB09E
split-complementary
#5C2CB0 #B09E2C #3EB02C
monochromatic
#29144E #42207F #5C2CB0 #7A48D1 #9D79DD
Accessibility & contrast
On white
8.60
#5C2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#5C2CB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2CB0
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2CB0 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#424F6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #5c2cb0; /* rgb */ color: rgb(92, 44, 176); /* oklch */ color: oklch(43.9% 0.194 293.3);
Tailwind
colors: {
custom: {
50: '#926ac9',
500: '#5c2cb0',
950: '#000000',
},
}SCSS
$custom: #5c2cb0; $custom-light: #926ac9; $custom-dark: #000000;
JSON
{
"hex": "#5c2cb0",
"rgb": {
"r": 92,
"g": 44,
"b": 176
},
"hsl": {
"h": 261.818,
"s": 60,
"l": 43.137
},
"oklch": {
"l": 0.43889,
"c": 0.1938,
"h": 293.3
},
"luminance": 0.07211
}Semantic roles & 50–950 ramp
primary
#5C2CB0
secondary
#A7C672
accent
#E345AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82