#5E488F#5E488F
#5E488F is a mid, moderate violet. Relative luminance 0.090; OKLCH L 45.9% C 0.113 H 295.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5E488F |
|---|---|
| RGB | rgb(94, 72, 143) |
| HSL | hsl(259, 33%, 42%) |
| HSV | hsv(259, 50%, 56%) |
| CMYK | cmyk(34.3%, 49.7%, 0%, 43.9%) |
| CIE-LAB | lab(35.98, 26.02, -36.17) |
| CIE-LCH | lch(35.98, 44.56, 305.72°) |
| OKLab | oklab(45.87% 0.0495 -0.102) |
| OKLCH | oklch(45.87% 0.113 295.9) |
| XYZ | xyz(11.8901, 8.9974, 27.0915) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.23
Blueberry
#464196
ΔE00 5.88
Twilight
#4E518B
ΔE00 6.00
Royal Purple
#7851A9
ΔE00 6.56
Rebeccapurple
#663399
ΔE00 6.78
Dusk
#4E5481
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E488F #798F48
analogous
#48558F #5E488F #82488F
triadic
#5E488F #8F5E48 #488F5E
tetradic
#5E488F #8F4855 #798F48 #488F82
square
#5E488F #8F4855 #798F48 #488F82
split-complementary
#5E488F #8F8248 #558F48
monochromatic
#281F3E #433466 #5E488F #7B63B1 #9E8CC5
Accessibility & contrast
On white
7.50
#5E488F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#5E488F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E488F
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E488F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E488F | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#34548D
Tritanopia (blue-blind)
#535665
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5e488f; /* rgb */ color: rgb(94, 72, 143); /* oklch */ color: oklch(45.9% 0.113 295.9);
Tailwind
colors: {
custom: {
50: '#8e7bb0',
500: '#5e488f',
950: '#000000',
},
}SCSS
$custom: #5e488f; $custom-light: #8e7bb0; $custom-dark: #000000;
JSON
{
"hex": "#5e488f",
"rgb": {
"r": 94,
"g": 72,
"b": 143
},
"hsl": {
"h": 258.592,
"s": 33.023,
"l": 42.157
},
"oklch": {
"l": 0.45871,
"c": 0.11335,
"h": 295.9
},
"luminance": 0.08998
}Semantic roles & 50–950 ramp
primary
#5E488F
secondary
#A2B182
accent
#C95FA8
background
#F8F7FA
surface
#F0EEF5
border
#CBC9CF
text
#0C0910
muted
#7D7B7F