#5C299C#5C299C
#5C299C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.175 H 298.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5C299C |
|---|---|
| RGB | rgb(92, 41, 156) |
| HSL | hsl(267, 58%, 39%) |
| HSV | hsv(267, 74%, 61%) |
| CMYK | cmyk(41%, 73.7%, 0%, 38.8%) |
| CIE-LAB | lab(30.06, 46.63, -53.64) |
| CIE-LCH | lch(30.06, 71.08, 311.00°) |
| OKLab | oklab(41.79% 0.084 -0.1533) |
| OKLCH | oklch(41.79% 0.175 298.7) |
| XYZ | xyz(11.2058, 6.2613, 32.0642) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.07
Purple (survey)
#7E1E9C
ΔE00 6.55
Indigo Blue
#3A18B1
ΔE00 6.58
Violet Blue
#510AC9
ΔE00 7.07
Purple Blue
#5D21D0
ΔE00 7.17
Indigo
#4B0082
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C299C #699C29
analogous
#292F9C #5C299C #95299C
triadic
#5C299C #9C5C29 #299C5C
tetradic
#5C299C #9C292F #699C29 #299C95
square
#5C299C #9C292F #699C29 #299C95
split-complementary
#5C299C #9C9529 #2F9C29
monochromatic
#23103B #3F1C6C #5C299C #7938CB #9968D7
Accessibility & contrast
On white
9.32
#5C299C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#5C299C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C299C
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C299C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C299C | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#4C4660
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5c299c; /* rgb */ color: rgb(92, 41, 156); /* oklch */ color: oklch(41.8% 0.175 298.7);
Tailwind
colors: {
custom: {
50: '#9068ba',
500: '#5c299c',
950: '#000000',
},
}SCSS
$custom: #5c299c; $custom-light: #9068ba; $custom-dark: #000000;
JSON
{
"hex": "#5c299c",
"rgb": {
"r": 92,
"g": 41,
"b": 156
},
"hsl": {
"h": 266.609,
"s": 58.376,
"l": 38.627
},
"oklch": {
"l": 0.41792,
"c": 0.17478,
"h": 298.7
},
"luminance": 0.06261
}Semantic roles & 50–950 ramp
primary
#5C299C
secondary
#96BE63
accent
#E2469D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81