#5C2299#5C2299
#5C2299 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.179 H 300.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2299 |
|---|---|
| RGB | rgb(92, 34, 153) |
| HSL | hsl(269, 64%, 37%) |
| HSV | hsv(269, 78%, 60%) |
| CMYK | cmyk(39.9%, 77.8%, 0%, 40%) |
| CIE-LAB | lab(28.69, 49.04, -54.05) |
| CIE-LCH | lch(28.69, 72.98, 312.22°) |
| OKLab | oklab(40.75% 0.0912 -0.1544) |
| OKLCH | oklch(40.75% 0.179 300.6) |
| XYZ | xyz(10.7340, 5.7192, 30.6692) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.00
Indigo
#4B0082
ΔE00 6.12
Purple (survey)
#7E1E9C
ΔE00 6.37
Indigo Blue
#3A18B1
ΔE00 6.41
Violet Blue
#510AC9
ΔE00 7.03
Purple Blue
#5D21D0
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2299 #5F9922
analogous
#222499 #5C2299 #982299
triadic
#5C2299 #995C22 #22995C
tetradic
#5C2299 #992224 #5F9922 #229998
square
#5C2299 #992224 #5F9922 #229998
split-complementary
#5C2299 #999822 #249922
monochromatic
#200C35 #3E1767 #5C2299 #7A2DCB #995BDB
Accessibility & contrast
On white
9.80
#5C2299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#5C2299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2299
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2299 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#4E415D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5c2299; /* rgb */ color: rgb(92, 34, 153); /* oklch */ color: oklch(40.7% 0.179 300.6);
Tailwind
colors: {
custom: {
50: '#9064b8',
500: '#5c2299',
950: '#000000',
},
}SCSS
$custom: #5c2299; $custom-light: #9064b8; $custom-dark: #000000;
JSON
{
"hex": "#5c2299",
"rgb": {
"r": 92,
"g": 34,
"b": 153
},
"hsl": {
"h": 269.244,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.40749,
"c": 0.17933,
"h": 300.6
},
"luminance": 0.05719
}Semantic roles & 50–950 ramp
primary
#5C2299
secondary
#8DBF58
accent
#E74196
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80