#5C2F91#5C2F91
#5C2F91 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.154 H 301.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2F91 |
|---|---|
| RGB | rgb(92, 47, 145) |
| HSL | hsl(268, 51%, 38%) |
| HSV | hsv(268, 68%, 57%) |
| CMYK | cmyk(36.6%, 67.6%, 0%, 43.1%) |
| CIE-LAB | lab(30.29, 40.71, -46.55) |
| CIE-LCH | lch(30.29, 61.84, 311.17°) |
| OKLab | oklab(41.68% 0.0795 -0.1324) |
| OKLCH | oklch(41.68% 0.154 301) |
| XYZ | xyz(10.5397, 6.3526, 27.4535) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.22
Darkslateblue
#483D8B
ΔE00 6.35
Purple (survey)
#7E1E9C
ΔE00 6.74
Blueberry
#464196
ΔE00 7.55
Indigo
#4B0082
ΔE00 7.98
Ocean Blue
#4F42B5
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2F91 #64912F
analogous
#2F3391 #5C2F91 #8D2F91
triadic
#5C2F91 #915C2F #2F915C
tetradic
#5C2F91 #912F33 #64912F #2F918D
square
#5C2F91 #912F33 #64912F #2F918D
split-complementary
#5C2F91 #918D2F #33912F
monochromatic
#211135 #3F2063 #5C2F91 #793EBF #996BCF
Accessibility & contrast
On white
9.25
#5C2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#5C2F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2F91
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2F91 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#51455C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5c2f91; /* rgb */ color: rgb(92, 47, 145); /* oklch */ color: oklch(41.7% 0.154 301.0);
Tailwind
colors: {
custom: {
50: '#8f6bb2',
500: '#5c2f91',
950: '#000000',
},
}SCSS
$custom: #5c2f91; $custom-light: #8f6bb2; $custom-dark: #000000;
JSON
{
"hex": "#5c2f91",
"rgb": {
"r": 92,
"g": 47,
"b": 145
},
"hsl": {
"h": 267.551,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.41679,
"c": 0.15445,
"h": 301
},
"luminance": 0.06353
}Semantic roles & 50–950 ramp
primary
#5C2F91
secondary
#91B665
accent
#DB4D9A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80