#5C4E97#5C4E97
#5C4E97 is a mid, moderate violet. Relative luminance 0.100; OKLCH L 47.3% C 0.115 H 290.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4E97 |
|---|---|
| RGB | rgb(92, 78, 151) |
| HSL | hsl(252, 32%, 45%) |
| HSV | hsv(252, 48%, 59%) |
| CMYK | cmyk(39.1%, 48.3%, 0%, 40.8%) |
| CIE-LAB | lab(37.77, 24.01, -38.19) |
| CIE-LCH | lch(37.77, 45.12, 302.16°) |
| OKLab | oklab(47.32% 0.0395 -0.1079) |
| OKLCH | oklch(47.32% 0.115 290.1) |
| XYZ | xyz(12.7224, 9.9581, 30.5239) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.42
Blueberry
#464196
ΔE00 5.50
Darkslateblue
#483D8B
ΔE00 5.85
Royal Purple
#7851A9
ΔE00 6.35
Dusk
#4E5481
ΔE00 6.62
Ocean Blue
#4F42B5
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4E97 #89974E
analogous
#4E6497 #5C4E97 #814E97
triadic
#5C4E97 #975C4E #4E975C
tetradic
#5C4E97 #974E64 #89974E #4E9781
square
#5C4E97 #974E64 #89974E #4E9781
split-complementary
#5C4E97 #97814E #64974E
monochromatic
#2B2446 #43396F #5C4E97 #7C6EB4 #A096C9
Accessibility & contrast
On white
7.02
#5C4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#5C4E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C4E97
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4E97 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#345795
Tritanopia (blue-blind)
#4C5C6B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5c4e97; /* rgb */ color: rgb(92, 78, 151); /* oklch */ color: oklch(47.3% 0.115 290.1);
Tailwind
colors: {
custom: {
50: '#8d7fb6',
500: '#5c4e97',
950: '#000000',
},
}SCSS
$custom: #5c4e97; $custom-light: #8d7fb6; $custom-dark: #000000;
JSON
{
"hex": "#5c4e97",
"rgb": {
"r": 92,
"g": 78,
"b": 151
},
"hsl": {
"h": 251.507,
"s": 31.878,
"l": 44.902
},
"oklch": {
"l": 0.47317,
"c": 0.11493,
"h": 290.1
},
"luminance": 0.09958
}Semantic roles & 50–950 ramp
primary
#5C4E97
secondary
#ADB68B
accent
#C860B4
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80