#5C4192#5C4192
#5C4192 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.6% C 0.129 H 296.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4192 |
|---|---|
| RGB | rgb(92, 65, 146) |
| HSL | hsl(260, 38%, 41%) |
| HSV | hsv(260, 55%, 57%) |
| CMYK | cmyk(37%, 55.5%, 0%, 42.7%) |
| CIE-LAB | lab(34.25, 30.62, -40.77) |
| CIE-LCH | lch(34.25, 50.99, 306.91°) |
| OKLab | oklab(44.6% 0.0567 -0.1155) |
| OKLCH | oklch(44.6% 0.129 296.2) |
| XYZ | xyz(11.4909, 8.1310, 28.1526) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.15
Rebeccapurple
#663399
ΔE00 4.64
Blueberry
#464196
ΔE00 4.98
Ocean Blue
#4F42B5
ΔE00 6.81
Royal Purple
#7851A9
ΔE00 7.23
Twilight
#4E518B
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4192 #779241
analogous
#414F92 #5C4192 #854192
triadic
#5C4192 #925C41 #41925C
tetradic
#5C4192 #92414F #779241 #419285
square
#5C4192 #92414F #779241 #419285
split-complementary
#5C4192 #928541 #4F9241
monochromatic
#271B3D #412E68 #5C4192 #795AB6 #9B85C9
Accessibility & contrast
On white
8.00
#5C4192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#5C4192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C4192
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4192 | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5195
Deuteranopia (green-blind)
#264F90
Tritanopia (blue-blind)
#4F5163
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5c4192; /* rgb */ color: rgb(92, 65, 146); /* oklch */ color: oklch(44.6% 0.129 296.2);
Tailwind
colors: {
custom: {
50: '#8d76b2',
500: '#5c4192',
950: '#000000',
},
}SCSS
$custom: #5c4192; $custom-light: #8d76b2; $custom-dark: #000000;
JSON
{
"hex": "#5c4192",
"rgb": {
"r": 92,
"g": 65,
"b": 146
},
"hsl": {
"h": 260,
"s": 38.389,
"l": 41.373
},
"oklch": {
"l": 0.44598,
"c": 0.12866,
"h": 296.2
},
"luminance": 0.08131
}Semantic roles & 50–950 ramp
primary
#5C4192
secondary
#A1B37C
accent
#CE59A7
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80