#4E4286#4E4286
#4E4286 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.6% C 0.109 H 289.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4286 |
|---|---|
| RGB | rgb(78, 66, 134) |
| HSL | hsl(251, 34%, 39%) |
| HSV | hsv(251, 51%, 53%) |
| CMYK | cmyk(41.8%, 50.7%, 0%, 47.5%) |
| CIE-LAB | lab(32.34, 22.79, -36.54) |
| CIE-LCH | lch(32.34, 43.07, 301.96°) |
| OKLab | oklab(42.59% 0.0356 -0.1035) |
| OKLCH | oklch(42.59% 0.109 289) |
| XYZ | xyz(9.3920, 7.2371, 23.4517) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.44
Blueberry
#464196
ΔE00 3.87
Twilight
#4E518B
ΔE00 5.35
Dusk
#4E5481
ΔE00 7.24
Rebeccapurple
#663399
ΔE00 7.87
Ocean Blue
#4F42B5
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4286 #7A8642
analogous
#425886 #4E4286 #704286
triadic
#4E4286 #864E42 #42864E
tetradic
#4E4286 #864258 #7A8642 #428670
square
#4E4286 #864258 #7A8642 #428670
split-complementary
#4E4286 #867042 #588642
monochromatic
#1E1A34 #362E5D #4E4286 #6758AD #8D81C1
Accessibility & contrast
On white
8.58
#4E4286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#4E4286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4286
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4286 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274E88
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#3E505D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4e4286; /* rgb */ color: rgb(78, 66, 134); /* oklch */ color: oklch(42.6% 0.109 289.0);
Tailwind
colors: {
custom: {
50: '#8376aa',
500: '#4e4286',
950: '#000000',
},
}SCSS
$custom: #4e4286; $custom-light: #8376aa; $custom-dark: #000000;
JSON
{
"hex": "#4e4286",
"rgb": {
"r": 78,
"g": 66,
"b": 134
},
"hsl": {
"h": 250.588,
"s": 34,
"l": 39.216
},
"oklch": {
"l": 0.42593,
"c": 0.10946,
"h": 289
},
"luminance": 0.07237
}Semantic roles & 50–950 ramp
primary
#4E4286
secondary
#A3AC78
accent
#CA5EB7
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F