#5C4591#5C4591
#5C4591 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.2% C 0.121 H 295.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4591 |
|---|---|
| RGB | rgb(92, 69, 145) |
| HSL | hsl(258, 36%, 42%) |
| HSV | hsv(258, 52%, 57%) |
| CMYK | cmyk(36.6%, 52.4%, 0%, 43.1%) |
| CIE-LAB | lab(35.15, 27.89, -38.72) |
| CIE-LCH | lch(35.15, 47.72, 305.76°) |
| OKLab | oklab(45.25% 0.0512 -0.1095) |
| OKLCH | oklch(45.25% 0.121 295.1) |
| XYZ | xyz(11.6513, 8.5757, 27.8240) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.37
Blueberry
#464196
ΔE00 5.04
Rebeccapurple
#663399
ΔE00 5.87
Twilight
#4E518B
ΔE00 6.45
Royal Purple
#7851A9
ΔE00 6.87
Ocean Blue
#4F42B5
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4591 #7A9145
analogous
#455491 #5C4591 #824591
triadic
#5C4591 #915C45 #45915C
tetradic
#5C4591 #914554 #7A9145 #459182
square
#5C4591 #914554 #7A9145 #459182
split-complementary
#5C4591 #918245 #549145
monochromatic
#271E3E #423168 #5C4591 #7960B3 #9C89C7
Accessibility & contrast
On white
7.73
#5C4591 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#5C4591 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C4591
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4591 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4591 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285394
Deuteranopia (green-blind)
#2D528F
Tritanopia (blue-blind)
#4F5464
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #5c4591; /* rgb */ color: rgb(92, 69, 145); /* oklch */ color: oklch(45.2% 0.121 295.1);
Tailwind
colors: {
custom: {
50: '#8d79b2',
500: '#5c4591',
950: '#000000',
},
}SCSS
$custom: #5c4591; $custom-light: #8d79b2; $custom-dark: #000000;
JSON
{
"hex": "#5c4591",
"rgb": {
"r": 92,
"g": 69,
"b": 145
},
"hsl": {
"h": 258.158,
"s": 35.514,
"l": 41.961
},
"oklch": {
"l": 0.45245,
"c": 0.12087,
"h": 295.1
},
"luminance": 0.08576
}Semantic roles & 50–950 ramp
primary
#5C4591
secondary
#A3B280
accent
#CC5CAA
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80