#4E4273#4E4273
#4E4273 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.4% C 0.081 H 293.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4273 |
|---|---|
| RGB | rgb(78, 66, 115) |
| HSL | hsl(255, 27%, 35%) |
| HSV | hsv(255, 43%, 45%) |
| CMYK | cmyk(32.2%, 42.6%, 0%, 54.9%) |
| CIE-LAB | lab(31.24, 17.17, -26.43) |
| CIE-LCH | lch(31.24, 31.52, 303.00°) |
| OKLab | oklab(41.4% 0.0327 -0.074) |
| OKLCH | oklch(41.4% 0.081 293.8) |
| XYZ | xyz(8.1838, 6.7538, 17.0888) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.61
Twilight
#4E518B
ΔE00 6.82
Dusk
#4E5481
ΔE00 7.10
Blueberry
#464196
ΔE00 8.27
Rebeccapurple
#663399
ΔE00 10.62
Grape
#6C3461
ΔE00 11.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4273 #677342
analogous
#424E73 #4E4273 #664273
triadic
#4E4273 #734E42 #42734E
tetradic
#4E4273 #73424E #677342 #427366
square
#4E4273 #73424E #677342 #427366
split-complementary
#4E4273 #736642 #4E7342
monochromatic
#191525 #342C4C #4E4273 #68589A #897CB4
Accessibility & contrast
On white
8.93
#4E4273 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#4E4273 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4273
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4273 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4273 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#354972
Tritanopia (blue-blind)
#464B55
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4e4273; /* rgb */ color: rgb(78, 66, 115); /* oklch */ color: oklch(41.4% 0.081 293.8);
Tailwind
colors: {
custom: {
50: '#81769b',
500: '#4e4273',
950: '#000000',
},
}SCSS
$custom: #4e4273; $custom-light: #81769b; $custom-dark: #000000;
JSON
{
"hex": "#4e4273",
"rgb": {
"r": 78,
"g": 66,
"b": 115
},
"hsl": {
"h": 254.694,
"s": 27.072,
"l": 35.49
},
"oklch": {
"l": 0.41405,
"c": 0.08089,
"h": 293.8
},
"luminance": 0.06754
}Semantic roles & 50–950 ramp
primary
#4E4273
secondary
#949F72
accent
#C364AC
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E