#5A4E91#5A4E91
#5A4E91 is a mid, moderate violet. Relative luminance 0.097; OKLCH L 46.8% C 0.106 H 289.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4E91 |
|---|---|
| RGB | rgb(90, 78, 145) |
| HSL | hsl(251, 30%, 44%) |
| HSV | hsv(251, 46%, 57%) |
| CMYK | cmyk(37.9%, 46.2%, 0%, 43.1%) |
| CIE-LAB | lab(37.24, 21.71, -35.42) |
| CIE-LCH | lch(37.24, 41.54, 301.51°) |
| OKLab | oklab(46.76% 0.0361 -0.0998) |
| OKLCH | oklch(46.76% 0.106 289.9) |
| XYZ | xyz(12.0503, 9.6664, 28.0135) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 3.69
Dusk
#4E5481
ΔE00 5.72
Blueberry
#464196
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 5.81
Royal Purple
#7851A9
ΔE00 7.18
Ocean Blue
#4F42B5
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4E91 #85914E
analogous
#4E6391 #5A4E91 #7B4E91
triadic
#5A4E91 #915A4E #4E915A
tetradic
#5A4E91 #914E63 #85914E #4E917B
square
#5A4E91 #914E63 #85914E #4E917B
split-complementary
#5A4E91 #917B4E #63914E
monochromatic
#292341 #413969 #5A4E91 #786CB0 #9D94C5
Accessibility & contrast
On white
7.16
#5A4E91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#5A4E91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A4E91
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4E91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4E91 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375993
Deuteranopia (green-blind)
#37568F
Tritanopia (blue-blind)
#4C5B68
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5a4e91; /* rgb */ color: rgb(90, 78, 145); /* oklch */ color: oklch(46.8% 0.106 289.9);
Tailwind
colors: {
custom: {
50: '#8b7fb1',
500: '#5a4e91',
950: '#000000',
},
}SCSS
$custom: #5a4e91; $custom-light: #8b7fb1; $custom-dark: #000000;
JSON
{
"hex": "#5a4e91",
"rgb": {
"r": 90,
"g": 78,
"b": 145
},
"hsl": {
"h": 250.746,
"s": 30.045,
"l": 43.725
},
"oklch": {
"l": 0.4676,
"c": 0.10618,
"h": 289.9
},
"luminance": 0.09667
}Semantic roles & 50–950 ramp
primary
#5A4E91
secondary
#ABB289
accent
#C662B4
background
#F8F7FA
surface
#F0EEF5
border
#CBC9CF
text
#0C0A11
muted
#7D7C80