#4E4278#4E4278
#4E4278 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.7% C 0.089 H 292.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4278 |
|---|---|
| RGB | rgb(78, 66, 120) |
| HSL | hsl(253, 29%, 36%) |
| HSV | hsv(253, 45%, 47%) |
| CMYK | cmyk(35%, 45%, 0%, 52.9%) |
| CIE-LAB | lab(31.51, 18.61, -29.14) |
| CIE-LCH | lch(31.51, 34.58, 302.57°) |
| OKLab | oklab(41.7% 0.0337 -0.0819) |
| OKLCH | oklch(41.7% 0.089 292.3) |
| XYZ | xyz(8.4794, 6.8720, 18.6453) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.34
Twilight
#4E518B
ΔE00 6.14
Dusk
#4E5481
ΔE00 6.90
Blueberry
#464196
ΔE00 6.99
Rebeccapurple
#663399
ΔE00 9.72
Ocean Blue
#4F42B5
ΔE00 11.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4278 #6C7842
analogous
#425178 #4E4278 #694278
triadic
#4E4278 #784E42 #42784E
tetradic
#4E4278 #784251 #6C7842 #427869
square
#4E4278 #784251 #6C7842 #427869
split-complementary
#4E4278 #786942 #517842
monochromatic
#1B1729 #342C51 #4E4278 #68589F #8A7DB7
Accessibility & contrast
On white
8.84
#4E4278 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#4E4278 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4278
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4278 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4278 | 1.00 | 8.84 | 2.37 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314B7A
Deuteranopia (green-blind)
#324977
Tritanopia (blue-blind)
#444C57
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4e4278; /* rgb */ color: rgb(78, 66, 120); /* oklch */ color: oklch(41.7% 0.089 292.3);
Tailwind
colors: {
custom: {
50: '#81769f',
500: '#4e4278',
950: '#000000',
},
}SCSS
$custom: #4e4278; $custom-light: #81769f; $custom-dark: #000000;
JSON
{
"hex": "#4e4278",
"rgb": {
"r": 78,
"g": 66,
"b": 120
},
"hsl": {
"h": 253.333,
"s": 29.032,
"l": 36.471
},
"oklch": {
"l": 0.41702,
"c": 0.08852,
"h": 292.3
},
"luminance": 0.06872
}Semantic roles & 50–950 ramp
primary
#4E4278
secondary
#98A273
accent
#C562AF
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E