#4E4285#4E4285
#4E4285 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.5% C 0.108 H 289.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4285 |
|---|---|
| RGB | rgb(78, 66, 133) |
| HSL | hsl(251, 34%, 39%) |
| HSV | hsv(251, 50%, 52%) |
| CMYK | cmyk(41.4%, 50.4%, 0%, 47.8%) |
| CIE-LAB | lab(32.28, 22.49, -36.02) |
| CIE-LCH | lch(32.28, 42.46, 301.98°) |
| OKLab | oklab(42.53% 0.0355 -0.102) |
| OKLCH | oklch(42.53% 0.108 289.2) |
| XYZ | xyz(9.3226, 7.2093, 23.0861) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.60
Blueberry
#464196
ΔE00 4.07
Twilight
#4E518B
ΔE00 5.35
Dusk
#4E5481
ΔE00 7.18
Rebeccapurple
#663399
ΔE00 7.97
Ocean Blue
#4F42B5
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4285 #798542
analogous
#425885 #4E4285 #704285
triadic
#4E4285 #854E42 #42854E
tetradic
#4E4285 #854258 #798542 #428570
square
#4E4285 #854258 #798542 #428570
split-complementary
#4E4285 #857042 #588542
monochromatic
#1E1933 #362E5C #4E4285 #6758AC #8C81C0
Accessibility & contrast
On white
8.60
#4E4285 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#4E4285 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4285
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4285 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4285 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284D87
Deuteranopia (green-blind)
#284A83
Tritanopia (blue-blind)
#3F505D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4e4285; /* rgb */ color: rgb(78, 66, 133); /* oklch */ color: oklch(42.5% 0.108 289.2);
Tailwind
colors: {
custom: {
50: '#8376a9',
500: '#4e4285',
950: '#000000',
},
}SCSS
$custom: #4e4285; $custom-light: #8376a9; $custom-dark: #000000;
JSON
{
"hex": "#4e4285",
"rgb": {
"r": 78,
"g": 66,
"b": 133
},
"hsl": {
"h": 250.746,
"s": 33.668,
"l": 39.02
},
"oklch": {
"l": 0.42527,
"c": 0.10799,
"h": 289.2
},
"luminance": 0.0721
}Semantic roles & 50–950 ramp
primary
#4E4285
secondary
#A2AB78
accent
#CA5EB6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F