#4E4076#4E4076
#4E4076 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.2% C 0.089 H 294.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4076 |
|---|---|
| RGB | rgb(78, 64, 118) |
| HSL | hsl(256, 30%, 36%) |
| HSV | hsv(256, 46%, 46%) |
| CMYK | cmyk(33.9%, 45.8%, 0%, 53.7%) |
| CIE-LAB | lab(30.87, 19.33, -28.91) |
| CIE-LCH | lch(30.87, 34.78, 303.76°) |
| OKLab | oklab(41.18% 0.0363 -0.0812) |
| OKLCH | oklch(41.18% 0.089 294.1) |
| XYZ | xyz(8.2445, 6.5944, 17.9745) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.51
Twilight
#4E518B
ΔE00 6.88
Blueberry
#464196
ΔE00 7.33
Dusk
#4E5481
ΔE00 7.64
Rebeccapurple
#663399
ΔE00 9.54
Ocean Blue
#4F42B5
ΔE00 11.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4076 #687640
analogous
#404D76 #4E4076 #694076
triadic
#4E4076 #764E40 #40764E
tetradic
#4E4076 #76404D #687640 #407669
square
#4E4076 #76404D #687640 #407669
split-complementary
#4E4076 #766940 #4D7640
monochromatic
#1A1527 #342A4E #4E4076 #68569E #8A7AB7
Accessibility & contrast
On white
9.06
#4E4076 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#4E4076 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4076
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4076 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4076 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#314875
Tritanopia (blue-blind)
#454A55
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4e4076; /* rgb */ color: rgb(78, 64, 118); /* oklch */ color: oklch(41.2% 0.089 294.1);
Tailwind
colors: {
custom: {
50: '#81759e',
500: '#4e4076',
950: '#000000',
},
}SCSS
$custom: #4e4076; $custom-light: #81759e; $custom-dark: #000000;
JSON
{
"hex": "#4e4076",
"rgb": {
"r": 78,
"g": 64,
"b": 118
},
"hsl": {
"h": 255.556,
"s": 29.67,
"l": 35.686
},
"oklch": {
"l": 0.41175,
"c": 0.08894,
"h": 294.1
},
"luminance": 0.06594
}Semantic roles & 50–950 ramp
primary
#4E4076
secondary
#95A170
accent
#C662AC
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E