#4E3586#4E3586
#4E3586 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.2% C 0.130 H 294.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #4E3586 |
|---|---|
| RGB | rgb(78, 53, 134) |
| HSL | hsl(259, 43%, 37%) |
| HSV | hsv(259, 60%, 53%) |
| CMYK | cmyk(41.8%, 60.4%, 0%, 47.5%) |
| CIE-LAB | lab(29.13, 30.98, -41.70) |
| CIE-LCH | lch(29.13, 51.95, 306.61°) |
| OKLab | oklab(40.21% 0.0528 -0.1187) |
| OKLCH | oklch(40.21% 0.13 294) |
| XYZ | xyz(8.7169, 5.8869, 23.2267) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.22
Blueberry
#464196
ΔE00 5.19
Rebeccapurple
#663399
ΔE00 5.36
Ocean Blue
#4F42B5
ΔE00 8.25
Sapphire (survey)
#2138AB
ΔE00 9.17
Indigo
#4B0082
ΔE00 9.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E3586 #6D8635
analogous
#354486 #4E3586 #773586
triadic
#4E3586 #864E35 #35864E
tetradic
#4E3586 #863544 #6D8635 #358677
square
#4E3586 #863544 #6D8635 #358677
split-complementary
#4E3586 #867735 #448635
monochromatic
#1B122E #34245A #4E3586 #6846B2 #8A6FC6
Accessibility & contrast
On white
9.64
#4E3586 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#4E3586 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E3586
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E3586 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E3586 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#014589
Deuteranopia (green-blind)
#0E4384
Tritanopia (blue-blind)
#3F4758
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4e3586; /* rgb */ color: rgb(78, 53, 134); /* oklch */ color: oklch(40.2% 0.130 294.0);
Tailwind
colors: {
custom: {
50: '#846daa',
500: '#4e3586',
950: '#000000',
},
}SCSS
$custom: #4e3586; $custom-light: #846daa; $custom-dark: #000000;
JSON
{
"hex": "#4e3586",
"rgb": {
"r": 78,
"g": 53,
"b": 134
},
"hsl": {
"h": 258.519,
"s": 43.316,
"l": 36.667
},
"oklch": {
"l": 0.40208,
"c": 0.1299,
"h": 294
},
"luminance": 0.05887
}Semantic roles & 50–950 ramp
primary
#4E3586
secondary
#99AE68
accent
#D355AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F