#5E4591#5E4591
#5E4591 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.4% C 0.121 H 296.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4591 |
|---|---|
| RGB | rgb(94, 69, 145) |
| HSL | hsl(260, 36%, 42%) |
| HSV | hsv(260, 52%, 57%) |
| CMYK | cmyk(35.2%, 52.4%, 0%, 43.1%) |
| CIE-LAB | lab(35.36, 28.43, -38.38) |
| CIE-LCH | lch(35.36, 47.76, 306.53°) |
| OKLab | oklab(45.45% 0.0539 -0.1084) |
| OKLCH | oklch(45.45% 0.121 296.4) |
| XYZ | xyz(11.8538, 8.6801, 27.8335) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.78
Blueberry
#464196
ΔE00 5.48
Rebeccapurple
#663399
ΔE00 5.68
Royal Purple
#7851A9
ΔE00 6.58
Twilight
#4E518B
ΔE00 6.79
Ocean Blue
#4F42B5
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4591 #789145
analogous
#455291 #5E4591 #844591
triadic
#5E4591 #915E45 #45915E
tetradic
#5E4591 #914552 #789145 #459184
square
#5E4591 #914552 #789145 #459184
split-complementary
#5E4591 #918445 #529145
monochromatic
#281E3E #433168 #5E4591 #7B60B3 #9E89C7
Accessibility & contrast
On white
7.68
#5E4591 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#5E4591 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E4591
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4591 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4591 | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285494
Deuteranopia (green-blind)
#2E528F
Tritanopia (blue-blind)
#525464
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #5e4591; /* rgb */ color: rgb(94, 69, 145); /* oklch */ color: oklch(45.4% 0.121 296.4);
Tailwind
colors: {
custom: {
50: '#8e79b2',
500: '#5e4591',
950: '#000000',
},
}SCSS
$custom: #5e4591; $custom-light: #8e79b2; $custom-dark: #000000;
JSON
{
"hex": "#5e4591",
"rgb": {
"r": 94,
"g": 69,
"b": 145
},
"hsl": {
"h": 259.737,
"s": 35.514,
"l": 41.961
},
"oklch": {
"l": 0.45448,
"c": 0.12108,
"h": 296.4
},
"luminance": 0.0868
}Semantic roles & 50–950 ramp
primary
#5E4591
secondary
#A2B280
accent
#CC5CA7
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0D0911
muted
#7D7B80