#5C4F82#5C4F82
#5C4F82 is a mid, moderate violet. Relative luminance 0.095; OKLCH L 46.3% C 0.082 H 294.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4F82 |
|---|---|
| RGB | rgb(92, 79, 130) |
| HSL | hsl(255, 24%, 41%) |
| HSV | hsv(255, 39%, 51%) |
| CMYK | cmyk(29.2%, 39.2%, 0%, 49%) |
| CIE-LAB | lab(36.89, 17.43, -26.79) |
| CIE-LCH | lch(36.89, 31.96, 303.05°) |
| OKLab | oklab(46.28% 0.0344 -0.0747) |
| OKLCH | oklch(46.28% 0.082 294.7) |
| XYZ | xyz(11.2379, 9.4788, 22.3523) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.13
Dusk
#4E5481
ΔE00 5.35
Darkslateblue
#483D8B
ΔE00 8.09
Blueberry
#464196
ΔE00 8.84
Royal Purple
#7851A9
ΔE00 9.04
Muted Purple
#805B87
ΔE00 9.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4F82 #75824F
analogous
#4F5B82 #5C4F82 #754F82
triadic
#5C4F82 #825C4F #4F825C
tetradic
#5C4F82 #824F5B #75824F #4F8275
square
#5C4F82 #824F5B #75824F #4F8275
split-complementary
#5C4F82 #82754F #5B824F
monochromatic
#262136 #41385C #5C4F82 #796AA4 #9B90BB
Accessibility & contrast
On white
7.25
#5C4F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#5C4F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C4F82
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4F82 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415784
Deuteranopia (green-blind)
#435681
Tritanopia (blue-blind)
#545862
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5c4f82; /* rgb */ color: rgb(92, 79, 130); /* oklch */ color: oklch(46.3% 0.082 294.7);
Tailwind
colors: {
custom: {
50: '#8b80a6',
500: '#5c4f82',
950: '#000000',
},
}SCSS
$custom: #5c4f82; $custom-light: #8b80a6; $custom-dark: #000000;
JSON
{
"hex": "#5c4f82",
"rgb": {
"r": 92,
"g": 79,
"b": 130
},
"hsl": {
"h": 255.294,
"s": 24.402,
"l": 40.98
},
"oklch": {
"l": 0.46282,
"c": 0.08224,
"h": 294.7
},
"luminance": 0.09479
}Semantic roles & 50–950 ramp
primary
#5C4F82
secondary
#9FA885
accent
#C167AA
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F