#5E4875#5E4875
#5E4875 is a dark, moderate violet. Relative luminance 0.083; OKLCH L 44.4% C 0.076 H 306.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4875 |
|---|---|
| RGB | rgb(94, 72, 117) |
| HSL | hsl(269, 24%, 37%) |
| HSV | hsv(269, 38%, 46%) |
| CMYK | cmyk(19.7%, 38.5%, 0%, 54.1%) |
| CIE-LAB | lab(34.60, 19.07, -22.31) |
| CIE-LCH | lch(34.60, 29.35, 310.53°) |
| OKLab | oklab(44.38% 0.0448 -0.0617) |
| OKLCH | oklch(44.38% 0.076 306) |
| XYZ | xyz(10.1437, 8.2988, 17.8936) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 8.70
Twilight
#4E518B
ΔE00 8.75
Muted Purple
#805B87
ΔE00 9.12
Dirty Purple
#734A65
ΔE00 9.24
Grape
#6C3461
ΔE00 9.34
Bruise
#7E4071
ΔE00 9.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4875 #5F7548
analogous
#484975 #5E4875 #754875
triadic
#5E4875 #755E48 #48755E
tetradic
#5E4875 #754849 #5F7548 #487575
square
#5E4875 #754849 #5F7548 #487575
split-complementary
#5E4875 #757548 #497548
monochromatic
#211929 #40314F #5E4875 #7C5F9B #9B84B3
Accessibility & contrast
On white
7.90
#5E4875 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#5E4875 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E4875
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4875 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5177
Deuteranopia (green-blind)
#435274
Tritanopia (blue-blind)
#5B4F59
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5e4875; /* rgb */ color: rgb(94, 72, 117); /* oklch */ color: oklch(44.4% 0.076 306.0);
Tailwind
colors: {
custom: {
50: '#8c7b9d',
500: '#5e4875',
950: '#000000',
},
}SCSS
$custom: #5e4875; $custom-light: #8c7b9d; $custom-dark: #000000;
JSON
{
"hex": "#5e4875",
"rgb": {
"r": 94,
"g": 72,
"b": 117
},
"hsl": {
"h": 269.333,
"s": 23.81,
"l": 37.059
},
"oklch": {
"l": 0.44378,
"c": 0.07629,
"h": 306
},
"luminance": 0.08299
}Semantic roles & 50–950 ramp
primary
#5E4875
secondary
#8DA079
accent
#C06895
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C090E
muted
#7D7B7E