#4E4176#4E4176
#4E4176 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.4% C 0.087 H 293.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4176 |
|---|---|
| RGB | rgb(78, 65, 118) |
| HSL | hsl(255, 29%, 36%) |
| HSV | hsv(255, 45%, 46%) |
| CMYK | cmyk(33.9%, 44.9%, 0%, 53.7%) |
| CIE-LAB | lab(31.13, 18.68, -28.49) |
| CIE-LCH | lch(31.13, 34.07, 303.25°) |
| OKLab | oklab(41.38% 0.0348 -0.08) |
| OKLCH | oklch(41.38% 0.087 293.5) |
| XYZ | xyz(8.3014, 6.7082, 17.9935) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.66
Twilight
#4E518B
ΔE00 6.63
Dusk
#4E5481
ΔE00 7.30
Blueberry
#464196
ΔE00 7.40
Rebeccapurple
#663399
ΔE00 9.80
Ocean Blue
#4F42B5
ΔE00 11.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4176 #697641
analogous
#414E76 #4E4176 #684176
triadic
#4E4176 #764E41 #41764E
tetradic
#4E4176 #76414E #697641 #417668
square
#4E4176 #76414E #697641 #417668
split-complementary
#4E4176 #766841 #4E7641
monochromatic
#1A1627 #342B4F #4E4176 #68579D #8A7BB6
Accessibility & contrast
On white
8.97
#4E4176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#4E4176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4176
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4176 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304A78
Deuteranopia (green-blind)
#324875
Tritanopia (blue-blind)
#454B56
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4e4176; /* rgb */ color: rgb(78, 65, 118); /* oklch */ color: oklch(41.4% 0.087 293.5);
Tailwind
colors: {
custom: {
50: '#81759e',
500: '#4e4176',
950: '#000000',
},
}SCSS
$custom: #4e4176; $custom-light: #81759e; $custom-dark: #000000;
JSON
{
"hex": "#4e4176",
"rgb": {
"r": 78,
"g": 65,
"b": 118
},
"hsl": {
"h": 254.717,
"s": 28.962,
"l": 35.882
},
"oklch": {
"l": 0.41378,
"c": 0.08721,
"h": 293.5
},
"luminance": 0.06708
}Semantic roles & 50–950 ramp
primary
#4E4176
secondary
#96A172
accent
#C563AD
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E