#4E2F86#4E2F86
#4E2F86 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.139 H 295.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2F86 |
|---|---|
| RGB | rgb(78, 47, 134) |
| HSL | hsl(261, 48%, 35%) |
| HSV | hsv(261, 65%, 53%) |
| CMYK | cmyk(41.8%, 64.9%, 0%, 47.5%) |
| CIE-LAB | lab(27.77, 34.57, -43.88) |
| CIE-LCH | lch(27.77, 55.86, 308.23°) |
| OKLab | oklab(39.22% 0.0603 -0.1251) |
| OKLCH | oklch(39.22% 0.139 295.7) |
| XYZ | xyz(8.4603, 5.3738, 23.1411) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.71
Rebeccapurple
#663399
ΔE00 5.06
Blueberry
#464196
ΔE00 6.46
Indigo
#4B0082
ΔE00 7.75
Indigo Blue
#3A18B1
ΔE00 8.63
Indigo (survey)
#380282
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2F86 #67862F
analogous
#2F3C86 #4E2F86 #792F86
triadic
#4E2F86 #864E2F #2F864E
tetradic
#4E2F86 #862F3C #67862F #2F8679
square
#4E2F86 #862F3C #67862F #2F8679
split-complementary
#4E2F86 #86792F #3C862F
monochromatic
#190F2B #341F59 #4E2F86 #683FB3 #8966C9
Accessibility & contrast
On white
10.12
#4E2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4E2F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2F86
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2F86 | 1.00 | 10.12 | 2.07 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#404356
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4e2f86; /* rgb */ color: rgb(78, 47, 134); /* oklch */ color: oklch(39.2% 0.139 295.7);
Tailwind
colors: {
custom: {
50: '#8469aa',
500: '#4e2f86',
950: '#000000',
},
}SCSS
$custom: #4e2f86; $custom-light: #8469aa; $custom-dark: #000000;
JSON
{
"hex": "#4e2f86",
"rgb": {
"r": 78,
"g": 47,
"b": 134
},
"hsl": {
"h": 261.379,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.39223,
"c": 0.13884,
"h": 295.7
},
"luminance": 0.05374
}Semantic roles & 50–950 ramp
primary
#4E2F86
secondary
#94B060
accent
#D850A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F