#5C219F#5C219F
#5C219F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.187 H 299.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5C219F |
|---|---|
| RGB | rgb(92, 33, 159) |
| HSL | hsl(268, 66%, 38%) |
| HSV | hsv(268, 79%, 62%) |
| CMYK | cmyk(42.1%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(29.07, 50.96, -57.09) |
| CIE-LCH | lch(29.07, 76.52, 311.75°) |
| OKLab | oklab(41.18% 0.0904 -0.1633) |
| OKLCH | oklch(41.18% 0.187 299) |
| XYZ | xyz(11.2139, 5.8661, 33.3356) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.34
Indigo Blue
#3A18B1
ΔE00 5.75
Violet Blue
#510AC9
ΔE00 6.11
Indigo
#4B0082
ΔE00 6.51
Purple (survey)
#7E1E9C
ΔE00 6.58
Purple Blue
#5D21D0
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C219F #649F21
analogous
#21259F #5C219F #9B219F
triadic
#5C219F #9F5C21 #219F5C
tetradic
#5C219F #9F2125 #649F21 #219F9B
square
#5C219F #9F2125 #649F21 #219F9B
split-complementary
#5C219F #9F9B21 #259F21
monochromatic
#210C3A #3F166C #5C219F #792CD2 #995DDD
Accessibility & contrast
On white
9.66
#5C219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#5C219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C219F
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C219F | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#4B4360
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5c219f; /* rgb */ color: rgb(92, 33, 159); /* oklch */ color: oklch(41.2% 0.187 299.0);
Tailwind
colors: {
custom: {
50: '#9164bc',
500: '#5c219f',
950: '#000000',
},
}SCSS
$custom: #5c219f; $custom-light: #9164bc; $custom-dark: #000000;
JSON
{
"hex": "#5c219f",
"rgb": {
"r": 92,
"g": 33,
"b": 159
},
"hsl": {
"h": 268.095,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.41176,
"c": 0.18666,
"h": 299
},
"luminance": 0.05866
}Semantic roles & 50–950 ramp
primary
#5C219F
secondary
#91C25A
accent
#E93F99
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81