#5C2A92#5C2A92
#5C2A92 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.162 H 301.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2A92 |
|---|---|
| RGB | rgb(92, 42, 146) |
| HSL | hsl(269, 55%, 37%) |
| HSV | hsv(269, 71%, 57%) |
| CMYK | cmyk(37%, 71.2%, 0%, 42.7%) |
| CIE-LAB | lab(29.43, 43.55, -48.55) |
| CIE-LCH | lch(29.43, 65.22, 311.89°) |
| OKLab | oklab(41.09% 0.0849 -0.1383) |
| OKLCH | oklch(41.09% 0.162 301.5) |
| XYZ | xyz(10.4287, 6.0065, 27.7985) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.77
Purple (survey)
#7E1E9C
ΔE00 6.40
Indigo
#4B0082
ΔE00 7.00
Darkslateblue
#483D8B
ΔE00 7.22
Indigo Blue
#3A18B1
ΔE00 7.81
Blueberry
#464196
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2A92 #60922A
analogous
#2A2C92 #5C2A92 #902A92
triadic
#5C2A92 #925C2A #2A925C
tetradic
#5C2A92 #922A2C #60922A #2A9290
square
#5C2A92 #922A2C #60922A #2A9290
split-complementary
#5C2A92 #92902A #2C922A
monochromatic
#200F33 #3E1C62 #5C2A92 #7A38C2 #9964D2
Accessibility & contrast
On white
9.54
#5C2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#5C2A92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2A92
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2A92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2A92 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#50435B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5c2a92; /* rgb */ color: rgb(92, 42, 146); /* oklch */ color: oklch(41.1% 0.162 301.5);
Tailwind
colors: {
custom: {
50: '#8f68b3',
500: '#5c2a92',
950: '#000000',
},
}SCSS
$custom: #5c2a92; $custom-light: #8f68b3; $custom-dark: #000000;
JSON
{
"hex": "#5c2a92",
"rgb": {
"r": 92,
"g": 42,
"b": 146
},
"hsl": {
"h": 268.846,
"s": 55.319,
"l": 36.863
},
"oklch": {
"l": 0.4109,
"c": 0.16229,
"h": 301.5
},
"luminance": 0.06007
}Semantic roles & 50–950 ramp
primary
#5C2A92
secondary
#8EB85F
accent
#DF4997
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80