#5C229A#5C229A
#5C229A is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.180 H 300.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5C229A |
|---|---|
| RGB | rgb(92, 34, 154) |
| HSL | hsl(269, 64%, 37%) |
| HSV | hsv(269, 78%, 60%) |
| CMYK | cmyk(40.3%, 77.9%, 0%, 39.6%) |
| CIE-LAB | lab(28.78, 49.29, -54.52) |
| CIE-LCH | lch(28.78, 73.50, 312.12°) |
| OKLab | oklab(40.84% 0.091 -0.1558) |
| OKLCH | oklch(40.84% 0.18 300.3) |
| XYZ | xyz(10.8169, 5.7524, 31.1060) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.02
Indigo
#4B0082
ΔE00 6.20
Indigo Blue
#3A18B1
ΔE00 6.30
Purple (survey)
#7E1E9C
ΔE00 6.39
Violet Blue
#510AC9
ΔE00 6.88
Purple Blue
#5D21D0
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C229A #609A22
analogous
#22249A #5C229A #98229A
triadic
#5C229A #9A5C22 #229A5C
tetradic
#5C229A #9A2224 #609A22 #229A98
square
#5C229A #9A2224 #609A22 #229A98
split-complementary
#5C229A #9A9822 #249A22
monochromatic
#200C36 #3E1768 #5C229A #7A2DCC #995BDB
Accessibility & contrast
On white
9.77
#5C229A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#5C229A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C229A
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C229A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C229A | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#4E425D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5c229a; /* rgb */ color: rgb(92, 34, 154); /* oklch */ color: oklch(40.8% 0.180 300.3);
Tailwind
colors: {
custom: {
50: '#9064b9',
500: '#5c229a',
950: '#000000',
},
}SCSS
$custom: #5c229a; $custom-light: #9064b9; $custom-dark: #000000;
JSON
{
"hex": "#5c229a",
"rgb": {
"r": 92,
"g": 34,
"b": 154
},
"hsl": {
"h": 269,
"s": 63.83,
"l": 36.863
},
"oklch": {
"l": 0.40836,
"c": 0.18039,
"h": 300.3
},
"luminance": 0.05752
}Semantic roles & 50–950 ramp
primary
#5C229A
secondary
#8EBF58
accent
#E74197
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81