#5C2699#5C2699
#5C2699 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.175 H 300.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2699 |
|---|---|
| RGB | rgb(92, 38, 153) |
| HSL | hsl(268, 60%, 37%) |
| HSV | hsv(268, 75%, 60%) |
| CMYK | cmyk(39.9%, 75.2%, 0%, 40%) |
| CIE-LAB | lab(29.31, 47.27, -53.03) |
| CIE-LCH | lch(29.31, 71.04, 311.71°) |
| OKLab | oklab(41.19% 0.0876 -0.1514) |
| OKLCH | oklch(41.19% 0.175 300) |
| XYZ | xyz(10.8551, 5.9613, 30.7096) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.39
Purple (survey)
#7E1E9C
ΔE00 6.38
Indigo Blue
#3A18B1
ΔE00 6.64
Indigo
#4B0082
ΔE00 6.68
Violet Blue
#510AC9
ΔE00 7.26
Purple Blue
#5D21D0
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2699 #639926
analogous
#262A99 #5C2699 #952699
triadic
#5C2699 #995C26 #26995C
tetradic
#5C2699 #99262A #639926 #269995
square
#5C2699 #99262A #639926 #269995
split-complementary
#5C2699 #999526 #2A9926
monochromatic
#210E37 #3F1A68 #5C2699 #7932CA #9962D8
Accessibility & contrast
On white
9.58
#5C2699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#5C2699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2699
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2699 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#4E435E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5c2699; /* rgb */ color: rgb(92, 38, 153); /* oklch */ color: oklch(41.2% 0.175 300.0);
Tailwind
colors: {
custom: {
50: '#9066b8',
500: '#5c2699',
950: '#000000',
},
}SCSS
$custom: #5c2699; $custom-light: #9066b8; $custom-dark: #000000;
JSON
{
"hex": "#5c2699",
"rgb": {
"r": 92,
"g": 38,
"b": 153
},
"hsl": {
"h": 268.174,
"s": 60.209,
"l": 37.451
},
"oklch": {
"l": 0.41186,
"c": 0.17494,
"h": 300
},
"luminance": 0.05961
}Semantic roles & 50–950 ramp
primary
#5C2699
secondary
#90BD5E
accent
#E34499
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80