#4E4379#4E4379
#4E4379 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.0% C 0.088 H 291.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4379 |
|---|---|
| RGB | rgb(78, 67, 121) |
| HSL | hsl(252, 29%, 37%) |
| HSV | hsv(252, 45%, 47%) |
| CMYK | cmyk(35.5%, 44.6%, 0%, 52.5%) |
| CIE-LAB | lab(31.84, 18.26, -29.25) |
| CIE-LCH | lch(31.84, 34.48, 301.97°) |
| OKLab | oklab(41.97% 0.0323 -0.0822) |
| OKLCH | oklch(41.97% 0.088 291.5) |
| XYZ | xyz(8.5993, 7.0143, 18.9863) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.30
Twilight
#4E518B
ΔE00 5.76
Dusk
#4E5481
ΔE00 6.53
Blueberry
#464196
ΔE00 6.85
Rebeccapurple
#663399
ΔE00 9.83
Ocean Blue
#4F42B5
ΔE00 11.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4379 #6E7943
analogous
#435379 #4E4379 #694379
triadic
#4E4379 #794E43 #43794E
tetradic
#4E4379 #794353 #6E7943 #437969
square
#4E4379 #794353 #6E7943 #437969
split-complementary
#4E4379 #796943 #537943
monochromatic
#1B172A #352D52 #4E4379 #6759A0 #8A7FB8
Accessibility & contrast
On white
8.74
#4E4379 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#4E4379 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4379
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4379 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4379 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#444D58
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4e4379; /* rgb */ color: rgb(78, 67, 121); /* oklch */ color: oklch(42.0% 0.088 291.5);
Tailwind
colors: {
custom: {
50: '#8177a0',
500: '#4e4379',
950: '#000000',
},
}SCSS
$custom: #4e4379; $custom-light: #8177a0; $custom-dark: #000000;
JSON
{
"hex": "#4e4379",
"rgb": {
"r": 78,
"g": 67,
"b": 121
},
"hsl": {
"h": 252.222,
"s": 28.723,
"l": 36.863
},
"oklch": {
"l": 0.41967,
"c": 0.08833,
"h": 291.5
},
"luminance": 0.07014
}Semantic roles & 50–950 ramp
primary
#4E4379
secondary
#9AA375
accent
#C563B1
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E