#5C209E#5C209E
#5C209E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.187 H 299.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5C209E |
|---|---|
| RGB | rgb(92, 32, 158) |
| HSL | hsl(269, 66%, 37%) |
| HSV | hsv(269, 80%, 62%) |
| CMYK | cmyk(41.8%, 79.7%, 0%, 38%) |
| CIE-LAB | lab(28.84, 51.11, -56.85) |
| CIE-LCH | lch(28.84, 76.45, 311.96°) |
| OKLab | oklab(40.99% 0.0915 -0.1626) |
| OKLCH | oklch(40.99% 0.187 299.4) |
| XYZ | xyz(11.1001, 5.7768, 32.8713) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.43
Indigo Blue
#3A18B1
ΔE00 5.81
Violet Blue
#510AC9
ΔE00 6.21
Indigo
#4B0082
ΔE00 6.31
Purple (survey)
#7E1E9C
ΔE00 6.55
Purple Blue
#5D21D0
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C209E #629E20
analogous
#20239E #5C209E #9B209E
triadic
#5C209E #9E5C20 #209E5C
tetradic
#5C209E #9E2023 #629E20 #209E9B
square
#5C209E #9E2023 #629E20 #209E9B
split-complementary
#5C209E #9E9B20 #239E20
monochromatic
#210B38 #3E166B #5C209E #7A2AD1 #995BDE
Accessibility & contrast
On white
9.74
#5C209E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#5C209E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C209E
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C209E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C209E | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#4C435F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5c209e; /* rgb */ color: rgb(92, 32, 158); /* oklch */ color: oklch(41.0% 0.187 299.4);
Tailwind
colors: {
custom: {
50: '#9163bc',
500: '#5c209e',
950: '#000000',
},
}SCSS
$custom: #5c209e; $custom-light: #9163bc; $custom-dark: #000000;
JSON
{
"hex": "#5c209e",
"rgb": {
"r": 92,
"g": 32,
"b": 158
},
"hsl": {
"h": 268.571,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.40989,
"c": 0.1866,
"h": 299.4
},
"luminance": 0.05777
}Semantic roles & 50–950 ramp
primary
#5C209E
secondary
#8FC258
accent
#E93F98
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81