#5E4191#5E4191
#5E4191 is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.7% C 0.128 H 297.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4191 |
|---|---|
| RGB | rgb(94, 65, 145) |
| HSL | hsl(262, 38%, 41%) |
| HSV | hsv(262, 55%, 57%) |
| CMYK | cmyk(35.2%, 55.2%, 0%, 43.1%) |
| CIE-LAB | lab(34.41, 30.86, -39.90) |
| CIE-LCH | lch(34.41, 50.45, 307.72°) |
| OKLab | oklab(44.74% 0.0594 -0.1129) |
| OKLCH | oklch(44.74% 0.128 297.8) |
| XYZ | xyz(11.6160, 8.2045, 27.7542) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.50
Darkslateblue
#483D8B
ΔE00 4.61
Blueberry
#464196
ΔE00 5.53
Royal Purple
#7851A9
ΔE00 7.03
Ocean Blue
#4F42B5
ΔE00 7.25
Twilight
#4E518B
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4191 #749141
analogous
#414C91 #5E4191 #864191
triadic
#5E4191 #915E41 #41915E
tetradic
#5E4191 #91414C #749141 #419186
square
#5E4191 #91414C #749141 #419186
split-complementary
#5E4191 #918641 #4C9141
monochromatic
#271B3C #432E67 #5E4191 #7B5AB5 #9D84C8
Accessibility & contrast
On white
7.95
#5E4191 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#5E4191 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E4191
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4191 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4191 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205194
Deuteranopia (green-blind)
#29508F
Tritanopia (blue-blind)
#535162
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5e4191; /* rgb */ color: rgb(94, 65, 145); /* oklch */ color: oklch(44.7% 0.128 297.8);
Tailwind
colors: {
custom: {
50: '#8f76b2',
500: '#5e4191',
950: '#000000',
},
}SCSS
$custom: #5e4191; $custom-light: #8f76b2; $custom-dark: #000000;
JSON
{
"hex": "#5e4191",
"rgb": {
"r": 94,
"g": 65,
"b": 145
},
"hsl": {
"h": 261.75,
"s": 38.095,
"l": 41.176
},
"oklch": {
"l": 0.44739,
"c": 0.12757,
"h": 297.8
},
"luminance": 0.08205
}Semantic roles & 50–950 ramp
primary
#5E4191
secondary
#9FB37B
accent
#CE5AA4
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0811
muted
#7E7B80