#5C249A#5C249A
#5C249A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.178 H 300.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5C249A |
|---|---|
| RGB | rgb(92, 36, 154) |
| HSL | hsl(268, 62%, 37%) |
| HSV | hsv(268, 77%, 60%) |
| CMYK | cmyk(40.3%, 76.6%, 0%, 39.6%) |
| CIE-LAB | lab(29.08, 48.42, -54.02) |
| CIE-LCH | lch(29.08, 72.55, 311.87°) |
| OKLab | oklab(41.05% 0.0892 -0.1543) |
| OKLCH | oklch(41.05% 0.178 300) |
| XYZ | xyz(10.8758, 5.8700, 31.1256) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.72
Purple (survey)
#7E1E9C
ΔE00 6.39
Indigo Blue
#3A18B1
ΔE00 6.41
Indigo
#4B0082
ΔE00 6.46
Violet Blue
#510AC9
ΔE00 6.99
Purple Blue
#5D21D0
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C249A #629A24
analogous
#24279A #5C249A #97249A
triadic
#5C249A #9A5C24 #249A5C
tetradic
#5C249A #9A2427 #629A24 #249A97
square
#5C249A #9A2427 #629A24 #249A97
split-complementary
#5C249A #9A9724 #279A24
monochromatic
#210D37 #3E1868 #5C249A #7A30CC #995FDA
Accessibility & contrast
On white
9.66
#5C249A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#5C249A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C249A
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C249A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C249A | 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)
#00449D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#4E435E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5c249a; /* rgb */ color: rgb(92, 36, 154); /* oklch */ color: oklch(41.0% 0.178 300.0);
Tailwind
colors: {
custom: {
50: '#9065b9',
500: '#5c249a',
950: '#000000',
},
}SCSS
$custom: #5c249a; $custom-light: #9065b9; $custom-dark: #000000;
JSON
{
"hex": "#5c249a",
"rgb": {
"r": 92,
"g": 36,
"b": 154
},
"hsl": {
"h": 268.475,
"s": 62.105,
"l": 37.255
},
"oklch": {
"l": 0.41049,
"c": 0.17825,
"h": 300
},
"luminance": 0.0587
}Semantic roles & 50–950 ramp
primary
#5C249A
secondary
#8FBF5B
accent
#E54398
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80