#5E348E#5E348E
#5E348E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.4% C 0.144 H 302.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5E348E |
|---|---|
| RGB | rgb(94, 52, 142) |
| HSL | hsl(268, 46%, 38%) |
| HSV | hsv(268, 63%, 56%) |
| CMYK | cmyk(33.8%, 63.4%, 0%, 44.3%) |
| CIE-LAB | lab(31.32, 37.65, -43.02) |
| CIE-LCH | lch(31.32, 57.17, 311.19°) |
| OKLab | oklab(42.41% 0.0765 -0.122) |
| OKLCH | oklch(42.41% 0.144 302.1) |
| XYZ | xyz(10.7254, 6.7886, 26.3312) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.21
Darkslateblue
#483D8B
ΔE00 5.89
Purple (survey)
#7E1E9C
ΔE00 6.99
Blueberry
#464196
ΔE00 7.24
Ocean Blue
#4F42B5
ΔE00 8.41
Indigo
#4B0082
ΔE00 9.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E348E #648E34
analogous
#34378E #5E348E #8B348E
triadic
#5E348E #8E5E34 #348E5E
tetradic
#5E348E #8E3437 #648E34 #348E8B
square
#5E348E #8E3437 #648E34 #348E8B
split-complementary
#5E348E #8E8B34 #378E34
monochromatic
#231334 #402461 #5E348E #7C44BB #9B71CB
Accessibility & contrast
On white
8.91
#5E348E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#5E348E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E348E
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E348E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E348E | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#18498C
Tritanopia (blue-blind)
#54475C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #5e348e; /* rgb */ color: rgb(94, 52, 142); /* oklch */ color: oklch(42.4% 0.144 302.1);
Tailwind
colors: {
custom: {
50: '#8f6eb0',
500: '#5e348e',
950: '#000000',
},
}SCSS
$custom: #5e348e; $custom-light: #8f6eb0; $custom-dark: #000000;
JSON
{
"hex": "#5e348e",
"rgb": {
"r": 94,
"g": 52,
"b": 142
},
"hsl": {
"h": 268,
"s": 46.392,
"l": 38.039
},
"oklch": {
"l": 0.42414,
"c": 0.14401,
"h": 302.1
},
"luminance": 0.06789
}Semantic roles & 50–950 ramp
primary
#5E348E
secondary
#91B36A
accent
#D65298
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0710
muted
#7E7A7F