#4E418E#4E418E
#4E418E is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.0% C 0.123 H 287.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4E418E |
|---|---|
| RGB | rgb(78, 65, 142) |
| HSL | hsl(250, 37%, 41%) |
| HSV | hsv(250, 54%, 56%) |
| CMYK | cmyk(45.1%, 54.2%, 0%, 44.3%) |
| CIE-LAB | lab(32.60, 25.89, -41.06) |
| CIE-LCH | lch(32.60, 48.54, 302.23°) |
| OKLab | oklab(42.95% 0.0376 -0.1168) |
| OKLCH | oklch(42.95% 0.123 287.9) |
| XYZ | xyz(9.9133, 7.3529, 26.4829) |
| Luminance | 0.0735 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.48
Blueberry
#464196
ΔE00 2.44
Twilight
#4E518B
ΔE00 5.92
Ocean Blue
#4F42B5
ΔE00 6.44
Rebeccapurple
#663399
ΔE00 7.00
Dusk
#4E5481
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E418E #818E41
analogous
#415A8E #4E418E #74418E
triadic
#4E418E #8E4E41 #418E4E
tetradic
#4E418E #8E415A #818E41 #418E74
square
#4E418E #8E415A #818E41 #418E74
split-complementary
#4E418E #8E7441 #5A8E41
monochromatic
#201B3A #372E64 #4E418E #6859B3 #8E83C6
Accessibility & contrast
On white
8.50
#4E418E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#4E418E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E418E
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E418E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E418E | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#1C4B8C
Tritanopia (blue-blind)
#3B5161
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4e418e; /* rgb */ color: rgb(78, 65, 142); /* oklch */ color: oklch(43.0% 0.123 287.9);
Tailwind
colors: {
custom: {
50: '#8476af',
500: '#4e418e',
950: '#000000',
},
}SCSS
$custom: #4e418e; $custom-light: #8476af; $custom-dark: #000000;
JSON
{
"hex": "#4e418e",
"rgb": {
"r": 78,
"g": 65,
"b": 142
},
"hsl": {
"h": 250.13,
"s": 37.198,
"l": 40.588
},
"oklch": {
"l": 0.4295,
"c": 0.12267,
"h": 287.9
},
"luminance": 0.07353
}Semantic roles & 50–950 ramp
primary
#4E418E
secondary
#A8B17A
accent
#CD5BBA
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0810
muted
#7C7B7F