#5B4F86#5B4F86
#5B4F86 is a mid, moderate violet. Relative luminance 0.095; OKLCH L 46.4% C 0.088 H 292.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4F86 |
|---|---|
| RGB | rgb(91, 79, 134) |
| HSL | hsl(253, 26%, 42%) |
| HSV | hsv(253, 41%, 53%) |
| CMYK | cmyk(32.1%, 41%, 0%, 47.5%) |
| CIE-LAB | lab(37.00, 18.23, -29.08) |
| CIE-LCH | lch(37.00, 34.32, 302.08°) |
| OKLab | oklab(46.41% 0.034 -0.0814) |
| OKLCH | oklch(46.41% 0.088 292.7) |
| XYZ | xyz(11.4124, 9.5371, 23.7892) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.28
Dusk
#4E5481
ΔE00 5.02
Darkslateblue
#483D8B
ΔE00 7.30
Blueberry
#464196
ΔE00 7.86
Royal Purple
#7851A9
ΔE00 8.47
Dusky Blue
#475F94
ΔE00 10.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4F86 #7A864F
analogous
#4F5F86 #5B4F86 #774F86
triadic
#5B4F86 #865B4F #4F865B
tetradic
#5B4F86 #864F5F #7A864F #4F8677
square
#5B4F86 #864F5F #7A864F #4F8677
split-complementary
#5B4F86 #86774F #5F864F
monochromatic
#272239 #41385F #5B4F86 #786BA8 #9B91BE
Accessibility & contrast
On white
7.22
#5B4F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#5B4F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B4F86
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4F86 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5888
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#515964
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5b4f86; /* rgb */ color: rgb(91, 79, 134); /* oklch */ color: oklch(46.4% 0.088 292.7);
Tailwind
colors: {
custom: {
50: '#8b80a9',
500: '#5b4f86',
950: '#000000',
},
}SCSS
$custom: #5b4f86; $custom-light: #8b80a9; $custom-dark: #000000;
JSON
{
"hex": "#5b4f86",
"rgb": {
"r": 91,
"g": 79,
"b": 134
},
"hsl": {
"h": 253.091,
"s": 25.822,
"l": 41.765
},
"oklch": {
"l": 0.46408,
"c": 0.08817,
"h": 292.7
},
"luminance": 0.09537
}Semantic roles & 50–950 ramp
primary
#5B4F86
secondary
#A3AB86
accent
#C266AE
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F