#5E488D#5E488D
#5E488D is a mid, moderate violet. Relative luminance 0.089; OKLCH L 45.7% C 0.111 H 296.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5E488D |
|---|---|
| RGB | rgb(94, 72, 141) |
| HSL | hsl(259, 32%, 42%) |
| HSV | hsv(259, 49%, 55%) |
| CMYK | cmyk(33.3%, 48.9%, 0%, 44.7%) |
| CIE-LAB | lab(35.86, 25.46, -35.14) |
| CIE-LCH | lch(35.86, 43.39, 305.93°) |
| OKLab | oklab(45.75% 0.0493 -0.0989) |
| OKLCH | oklch(45.75% 0.111 296.5) |
| XYZ | xyz(11.7400, 8.9373, 26.3007) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.39
Twilight
#4E518B
ΔE00 6.03
Blueberry
#464196
ΔE00 6.15
Royal Purple
#7851A9
ΔE00 6.76
Rebeccapurple
#663399
ΔE00 6.97
Dusk
#4E5481
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E488D #778D48
analogous
#48558D #5E488D #81488D
triadic
#5E488D #8D5E48 #488D5E
tetradic
#5E488D #8D4855 #778D48 #488D81
square
#5E488D #8D4855 #778D48 #488D81
split-complementary
#5E488D #8D8148 #558D48
monochromatic
#281F3C #433364 #5E488D #7B63AF #9D8BC4
Accessibility & contrast
On white
7.53
#5E488D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#5E488D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E488D
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E488D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E488D | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31558F
Deuteranopia (green-blind)
#35538B
Tritanopia (blue-blind)
#545564
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #5e488d; /* rgb */ color: rgb(94, 72, 141); /* oklch */ color: oklch(45.7% 0.111 296.5);
Tailwind
colors: {
custom: {
50: '#8e7baf',
500: '#5e488d',
950: '#000000',
},
}SCSS
$custom: #5e488d; $custom-light: #8e7baf; $custom-dark: #000000;
JSON
{
"hex": "#5e488d",
"rgb": {
"r": 94,
"g": 72,
"b": 141
},
"hsl": {
"h": 259.13,
"s": 32.394,
"l": 41.765
},
"oklch": {
"l": 0.45746,
"c": 0.11053,
"h": 296.5
},
"luminance": 0.08938
}Semantic roles & 50–950 ramp
primary
#5E488D
secondary
#A1B081
accent
#C95FA7
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0910
muted
#7D7B7F