#5B4E82#5B4E82
#5B4E82 is a mid, moderate violet. Relative luminance 0.093; OKLCH L 46.0% C 0.084 H 294.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4E82 |
|---|---|
| RGB | rgb(91, 78, 130) |
| HSL | hsl(255, 25%, 41%) |
| HSV | hsv(255, 40%, 51%) |
| CMYK | cmyk(30%, 40%, 0%, 49%) |
| CIE-LAB | lab(36.53, 17.75, -27.37) |
| CIE-LCH | lch(36.53, 32.62, 302.96°) |
| OKLab | oklab(45.98% 0.0346 -0.0764) |
| OKLCH | oklch(45.98% 0.084 294.4) |
| XYZ | xyz(11.0671, 9.2845, 22.3238) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.97
Dusk
#4E5481
ΔE00 5.35
Darkslateblue
#483D8B
ΔE00 7.69
Blueberry
#464196
ΔE00 8.47
Royal Purple
#7851A9
ΔE00 9.03
Muted Purple
#805B87
ΔE00 10.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4E82 #75824E
analogous
#4E5B82 #5B4E82 #754E82
triadic
#5B4E82 #825B4E #4E825B
tetradic
#5B4E82 #824E5B #75824E #4E8275
square
#5B4E82 #824E5B #75824E #4E8275
split-complementary
#5B4E82 #82754E #5B824E
monochromatic
#252035 #40375C #5B4E82 #7868A5 #9A8FBC
Accessibility & contrast
On white
7.35
#5B4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#5B4E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B4E82
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4E82 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5684
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#535762
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5b4e82; /* rgb */ color: rgb(91, 78, 130); /* oklch */ color: oklch(46.0% 0.084 294.4);
Tailwind
colors: {
custom: {
50: '#8b7fa6',
500: '#5b4e82',
950: '#000000',
},
}SCSS
$custom: #5b4e82; $custom-light: #8b7fa6; $custom-dark: #000000;
JSON
{
"hex": "#5b4e82",
"rgb": {
"r": 91,
"g": 78,
"b": 130
},
"hsl": {
"h": 255,
"s": 25,
"l": 40.784
},
"oklch": {
"l": 0.45982,
"c": 0.08388,
"h": 294.4
},
"luminance": 0.09285
}Semantic roles & 50–950 ramp
primary
#5B4E82
secondary
#9FA884
accent
#C166AB
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F