#5E488E#5E488E
#5E488E is a mid, moderate violet. Relative luminance 0.090; OKLCH L 45.8% C 0.112 H 296.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5E488E |
|---|---|
| RGB | rgb(94, 72, 142) |
| HSL | hsl(259, 33%, 42%) |
| HSV | hsv(259, 49%, 56%) |
| CMYK | cmyk(33.8%, 49.3%, 0%, 44.3%) |
| CIE-LAB | lab(35.92, 25.74, -35.66) |
| CIE-LCH | lch(35.92, 43.97, 305.82°) |
| OKLab | oklab(45.81% 0.0494 -0.1004) |
| OKLCH | oklch(45.81% 0.112 296.2) |
| XYZ | xyz(11.8147, 8.9672, 26.6943) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.31
Twilight
#4E518B
ΔE00 6.01
Blueberry
#464196
ΔE00 6.01
Royal Purple
#7851A9
ΔE00 6.66
Rebeccapurple
#663399
ΔE00 6.87
Dusk
#4E5481
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E488E #788E48
analogous
#48558E #5E488E #81488E
triadic
#5E488E #8E5E48 #488E5E
tetradic
#5E488E #8E4855 #788E48 #488E81
square
#5E488E #8E4855 #788E48 #488E81
split-complementary
#5E488E #8E8148 #558E48
monochromatic
#281F3D #433365 #5E488E #7B63B0 #9E8CC5
Accessibility & contrast
On white
7.52
#5E488E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#5E488E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E488E
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E488E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E488E | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305590
Deuteranopia (green-blind)
#35548C
Tritanopia (blue-blind)
#535564
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #5e488e; /* rgb */ color: rgb(94, 72, 142); /* oklch */ color: oklch(45.8% 0.112 296.2);
Tailwind
colors: {
custom: {
50: '#8e7baf',
500: '#5e488e',
950: '#000000',
},
}SCSS
$custom: #5e488e; $custom-light: #8e7baf; $custom-dark: #000000;
JSON
{
"hex": "#5e488e",
"rgb": {
"r": 94,
"g": 72,
"b": 142
},
"hsl": {
"h": 258.857,
"s": 32.71,
"l": 41.961
},
"oklch": {
"l": 0.45808,
"c": 0.11194,
"h": 296.2
},
"luminance": 0.08967
}Semantic roles & 50–950 ramp
primary
#5E488E
secondary
#A2B082
accent
#C95FA8
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0910
muted
#7D7B7F