#5B4E89#5B4E89
#5B4E89 is a mid, moderate violet. Relative luminance 0.095; OKLCH L 46.4% C 0.094 H 292.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4E89 |
|---|---|
| RGB | rgb(91, 78, 137) |
| HSL | hsl(253, 27%, 42%) |
| HSV | hsv(253, 43%, 54%) |
| CMYK | cmyk(33.6%, 43.1%, 0%, 46.3%) |
| CIE-LAB | lab(36.89, 19.70, -31.09) |
| CIE-LCH | lch(36.89, 36.80, 302.37°) |
| OKLab | oklab(46.38% 0.036 -0.0872) |
| OKLCH | oklch(46.38% 0.094 292.5) |
| XYZ | xyz(11.5530, 9.4788, 24.8830) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.13
Dusk
#4E5481
ΔE00 5.36
Darkslateblue
#483D8B
ΔE00 6.62
Blueberry
#464196
ΔE00 7.10
Royal Purple
#7851A9
ΔE00 7.92
Rebeccapurple
#663399
ΔE00 9.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4E89 #7C894E
analogous
#4E5F89 #5B4E89 #794E89
triadic
#5B4E89 #895B4E #4E895B
tetradic
#5B4E89 #894E5F #7C894E #4E8979
square
#5B4E89 #894E5F #7C894E #4E8979
split-complementary
#5B4E89 #89794E #5F894E
monochromatic
#27223B #413862 #5B4E89 #786AAA #9B91C0
Accessibility & contrast
On white
7.25
#5B4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#5B4E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B4E89
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4E89 | 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)
#3C588B
Deuteranopia (green-blind)
#3D5688
Tritanopia (blue-blind)
#505965
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5b4e89; /* rgb */ color: rgb(91, 78, 137); /* oklch */ color: oklch(46.4% 0.094 292.5);
Tailwind
colors: {
custom: {
50: '#8b7fac',
500: '#5b4e89',
950: '#000000',
},
}SCSS
$custom: #5b4e89; $custom-light: #8b7fac; $custom-dark: #000000;
JSON
{
"hex": "#5b4e89",
"rgb": {
"r": 91,
"g": 78,
"b": 137
},
"hsl": {
"h": 253.22,
"s": 27.442,
"l": 42.157
},
"oklch": {
"l": 0.46377,
"c": 0.09435,
"h": 292.5
},
"luminance": 0.09479
}Semantic roles & 50–950 ramp
primary
#5B4E89
secondary
#A4AD86
accent
#C464AF
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F