#5C2C92#5C2C92
#5C2C92 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.3% C 0.160 H 301.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2C92 |
|---|---|
| RGB | rgb(92, 44, 146) |
| HSL | hsl(268, 54%, 37%) |
| HSV | hsv(268, 70%, 57%) |
| CMYK | cmyk(37%, 69.9%, 0%, 42.7%) |
| CIE-LAB | lab(29.79, 42.54, -47.96) |
| CIE-LCH | lch(29.79, 64.11, 311.57°) |
| OKLab | oklab(41.35% 0.0827 -0.1366) |
| OKLCH | oklch(41.35% 0.16 301.2) |
| XYZ | xyz(10.5014, 6.1519, 27.8227) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.49
Purple (survey)
#7E1E9C
ΔE00 6.51
Darkslateblue
#483D8B
ΔE00 6.87
Indigo
#4B0082
ΔE00 7.39
Indigo Blue
#3A18B1
ΔE00 8.01
Blueberry
#464196
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2C92 #62922C
analogous
#2C2F92 #5C2C92 #8F2C92
triadic
#5C2C92 #925C2C #2C925C
tetradic
#5C2C92 #922C2F #62922C #2C928F
square
#5C2C92 #922C2F #62922C #2C928F
split-complementary
#5C2C92 #928F2C #2F922C
monochromatic
#211034 #3E1E63 #5C2C92 #7A3AC1 #9967D1
Accessibility & contrast
On white
9.42
#5C2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#5C2C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2C92
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2C92 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#50445B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5c2c92; /* rgb */ color: rgb(92, 44, 146); /* oklch */ color: oklch(41.3% 0.160 301.2);
Tailwind
colors: {
custom: {
50: '#8f69b3',
500: '#5c2c92',
950: '#000000',
},
}SCSS
$custom: #5c2c92; $custom-light: #8f69b3; $custom-dark: #000000;
JSON
{
"hex": "#5c2c92",
"rgb": {
"r": 92,
"g": 44,
"b": 146
},
"hsl": {
"h": 268.235,
"s": 53.684,
"l": 37.255
},
"oklch": {
"l": 0.4135,
"c": 0.15968,
"h": 301.2
},
"luminance": 0.06152
}Semantic roles & 50–950 ramp
primary
#5C2C92
secondary
#8FB862
accent
#DD4B98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80