#4E3779#4E3779
#4E3779 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.6% C 0.109 H 297.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4E3779 |
|---|---|
| RGB | rgb(78, 55, 121) |
| HSL | hsl(261, 38%, 35%) |
| HSV | hsv(261, 55%, 47%) |
| CMYK | cmyk(35.5%, 54.5%, 0%, 52.5%) |
| CIE-LAB | lab(28.73, 25.95, -34.20) |
| CIE-LCH | lch(28.73, 42.93, 307.19°) |
| OKLab | oklab(39.63% 0.0498 -0.0966) |
| OKLCH | oklch(39.63% 0.109 297.3) |
| XYZ | xyz(7.9584, 5.7324, 18.7726) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.54
Blueberry
#464196
ΔE00 6.83
Rebeccapurple
#663399
ΔE00 7.18
Twilight
#4E518B
ΔE00 9.17
Dusk
#4E5481
ΔE00 10.52
Ocean Blue
#4F42B5
ΔE00 10.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E3779 #627937
analogous
#374179 #4E3779 #6F3779
triadic
#4E3779 #794E37 #37794E
tetradic
#4E3779 #793741 #627937 #37796F
square
#4E3779 #793741 #627937 #37796F
split-complementary
#4E3779 #796F37 #417937
monochromatic
#181125 #33244F #4E3779 #694AA3 #896EBD
Accessibility & contrast
On white
9.78
#4E3779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4E3779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E3779
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E3779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E3779 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#244377
Tritanopia (blue-blind)
#444452
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e3779; /* rgb */ color: rgb(78, 55, 121); /* oklch */ color: oklch(39.6% 0.109 297.3);
Tailwind
colors: {
custom: {
50: '#826ea0',
500: '#4e3779',
950: '#000000',
},
}SCSS
$custom: #4e3779; $custom-light: #826ea0; $custom-dark: #000000;
JSON
{
"hex": "#4e3779",
"rgb": {
"r": 78,
"g": 55,
"b": 121
},
"hsl": {
"h": 260.909,
"s": 37.5,
"l": 34.51
},
"oklch": {
"l": 0.39633,
"c": 0.10874,
"h": 297.3
},
"luminance": 0.05733
}Semantic roles & 50–950 ramp
primary
#4E3779
secondary
#90A666
accent
#CD5AA5
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070F
muted
#7C7A7E