#4E359E#4E359E
#4E359E is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.162 H 288.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4E359E |
|---|---|
| RGB | rgb(78, 53, 158) |
| HSL | hsl(254, 50%, 41%) |
| HSV | hsv(254, 66%, 62%) |
| CMYK | cmyk(50.6%, 66.5%, 0%, 38%) |
| CIE-LAB | lab(30.96, 38.15, -53.47) |
| CIE-LCH | lch(30.96, 65.68, 305.51°) |
| OKLab | oklab(42.12% 0.051 -0.1533) |
| OKLCH | oklch(42.12% 0.162 288.4) |
| XYZ | xyz(10.5848, 6.6341, 33.0639) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 4.52
Darkslateblue
#483D8B
ΔE00 4.53
Ocean Blue
#4F42B5
ΔE00 4.84
Rebeccapurple
#663399
ΔE00 5.01
Blue With A Hint Of Purple
#533CC6
ΔE00 6.07
Sapphire (survey)
#2138AB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E359E #859E35
analogous
#35519E #4E359E #83359E
triadic
#4E359E #9E4E35 #359E4E
tetradic
#4E359E #9E3551 #859E35 #359E83
square
#4E359E #9E3551 #859E35 #359E83
split-complementary
#4E359E #9E8335 #519E35
monochromatic
#211642 #372670 #4E359E #694DC3 #907BD3
Accessibility & contrast
On white
9.02
#4E359E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#4E359E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E359E
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E359E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E359E | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#324F65
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4e359e; /* rgb */ color: rgb(78, 53, 158); /* oklch */ color: oklch(42.1% 0.162 288.4);
Tailwind
colors: {
custom: {
50: '#876ebb',
500: '#4e359e',
950: '#000000',
},
}SCSS
$custom: #4e359e; $custom-light: #876ebb; $custom-dark: #000000;
JSON
{
"hex": "#4e359e",
"rgb": {
"r": 78,
"g": 53,
"b": 158
},
"hsl": {
"h": 254.286,
"s": 49.763,
"l": 41.373
},
"oklch": {
"l": 0.42121,
"c": 0.16154,
"h": 288.4
},
"luminance": 0.06635
}Semantic roles & 50–950 ramp
primary
#4E359E
secondary
#AABB73
accent
#D94FB8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81