#5C219C#5C219C
#5C219C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.184 H 299.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5C219C |
|---|---|
| RGB | rgb(92, 33, 156) |
| HSL | hsl(269, 65%, 37%) |
| HSV | hsv(269, 79%, 61%) |
| CMYK | cmyk(41%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(28.81, 50.21, -55.69) |
| CIE-LCH | lch(28.81, 74.98, 312.04°) |
| OKLab | oklab(40.91% 0.0913 -0.1592) |
| OKLCH | oklch(40.91% 0.184 299.8) |
| XYZ | xyz(10.9567, 5.7632, 31.9812) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.22
Indigo Blue
#3A18B1
ΔE00 6.04
Indigo
#4B0082
ΔE00 6.24
Purple (survey)
#7E1E9C
ΔE00 6.47
Violet Blue
#510AC9
ΔE00 6.54
Purple Blue
#5D21D0
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C219C #619C21
analogous
#21249C #5C219C #99219C
triadic
#5C219C #9C5C21 #219C5C
tetradic
#5C219C #9C2124 #619C21 #219C99
square
#5C219C #9C2124 #619C21 #219C99
split-complementary
#5C219C #9C9921 #249C21
monochromatic
#200C37 #3E1669 #5C219C #7A2CCF #995BDC
Accessibility & contrast
On white
9.76
#5C219C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#5C219C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C219C
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C219C | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#4D425E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5c219c; /* rgb */ color: rgb(92, 33, 156); /* oklch */ color: oklch(40.9% 0.184 299.8);
Tailwind
colors: {
custom: {
50: '#9164ba',
500: '#5c219c',
950: '#000000',
},
}SCSS
$custom: #5c219c; $custom-light: #9164ba; $custom-dark: #000000;
JSON
{
"hex": "#5c219c",
"rgb": {
"r": 92,
"g": 33,
"b": 156
},
"hsl": {
"h": 268.78,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.4091,
"c": 0.18352,
"h": 299.8
},
"luminance": 0.05763
}Semantic roles & 50–950 ramp
primary
#5C219C
secondary
#8FC158
accent
#E84097
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81