#5C3192#5C3192
#5C3192 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.153 H 300.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5C3192 |
|---|---|
| RGB | rgb(92, 49, 146) |
| HSL | hsl(267, 50%, 38%) |
| HSV | hsv(267, 66%, 57%) |
| CMYK | cmyk(37%, 66.4%, 0%, 42.7%) |
| CIE-LAB | lab(30.75, 39.90, -46.41) |
| CIE-LCH | lch(30.75, 61.20, 310.69°) |
| OKLab | oklab(42.04% 0.077 -0.132) |
| OKLCH | oklch(42.04% 0.153 300.3) |
| XYZ | xyz(10.6990, 6.5472, 27.8886) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.06
Darkslateblue
#483D8B
ΔE00 6.00
Purple (survey)
#7E1E9C
ΔE00 6.92
Blueberry
#464196
ΔE00 7.15
Ocean Blue
#4F42B5
ΔE00 7.91
Indigo
#4B0082
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C3192 #679231
analogous
#313692 #5C3192 #8C3192
triadic
#5C3192 #925C31 #31925C
tetradic
#5C3192 #923136 #679231 #31928C
square
#5C3192 #923136 #679231 #31928C
split-complementary
#5C3192 #928C31 #369231
monochromatic
#221236 #3F2264 #5C3192 #7941BF #996FCF
Accessibility & contrast
On white
9.09
#5C3192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#5C3192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C3192
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C3192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C3192 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#014890
Tritanopia (blue-blind)
#50475D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #5c3192; /* rgb */ color: rgb(92, 49, 146); /* oklch */ color: oklch(42.0% 0.153 300.3);
Tailwind
colors: {
custom: {
50: '#8e6cb3',
500: '#5c3192',
950: '#000000',
},
}SCSS
$custom: #5c3192; $custom-light: #8e6cb3; $custom-dark: #000000;
JSON
{
"hex": "#5c3192",
"rgb": {
"r": 92,
"g": 49,
"b": 146
},
"hsl": {
"h": 266.598,
"s": 49.744,
"l": 38.235
},
"oklch": {
"l": 0.42039,
"c": 0.15284,
"h": 300.3
},
"luminance": 0.06547
}Semantic roles & 50–950 ramp
primary
#5C3192
secondary
#94B669
accent
#D94F9C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80