#4E2686#4E2686
#4E2686 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.151 H 297.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2686 |
|---|---|
| RGB | rgb(78, 38, 134) |
| HSL | hsl(265, 56%, 34%) |
| HSV | hsv(265, 72%, 53%) |
| CMYK | cmyk(41.8%, 71.6%, 0%, 47.5%) |
| CIE-LAB | lab(25.94, 39.58, -46.85) |
| CIE-LCH | lch(25.94, 61.33, 310.19°) |
| OKLab | oklab(37.91% 0.0705 -0.1338) |
| OKLCH | oklch(37.91% 0.151 297.8) |
| XYZ | xyz(8.1370, 4.7270, 23.0333) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.52
Rebeccapurple
#663399
ΔE00 5.53
Indigo (survey)
#380282
ΔE00 6.69
Darkslateblue
#483D8B
ΔE00 6.84
Royal Purple (survey)
#4B006E
ΔE00 6.89
Indigo Blue
#3A18B1
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2686 #5E8626
analogous
#262E86 #4E2686 #7E2686
triadic
#4E2686 #864E26 #26864E
tetradic
#4E2686 #86262E #5E8626 #26867E
square
#4E2686 #86262E #5E8626 #26867E
split-complementary
#4E2686 #867E26 #2E8626
monochromatic
#160B27 #321856 #4E2686 #6A34B6 #8957CF
Accessibility & contrast
On white
10.79
#4E2686 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4E2686 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2686
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2686 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2686 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#403D53
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4e2686; /* rgb */ color: rgb(78, 38, 134); /* oklch */ color: oklch(37.9% 0.151 297.8);
Tailwind
colors: {
custom: {
50: '#8564aa',
500: '#4e2686',
950: '#000000',
},
}SCSS
$custom: #4e2686; $custom-light: #8564aa; $custom-dark: #000000;
JSON
{
"hex": "#4e2686",
"rgb": {
"r": 78,
"g": 38,
"b": 134
},
"hsl": {
"h": 265,
"s": 55.814,
"l": 33.725
},
"oklch": {
"l": 0.37906,
"c": 0.15124,
"h": 297.8
},
"luminance": 0.04727
}Semantic roles & 50–950 ramp
primary
#4E2686
secondary
#8CB454
accent
#DF49A0
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F