#4E3090#4E3090
#4E3090 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.150 H 292.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4E3090 |
|---|---|
| RGB | rgb(78, 48, 144) |
| HSL | hsl(259, 50%, 38%) |
| HSV | hsv(259, 67%, 56%) |
| CMYK | cmyk(45.8%, 66.7%, 0%, 43.5%) |
| CIE-LAB | lab(28.76, 36.88, -48.47) |
| CIE-LCH | lch(28.76, 60.91, 307.27°) |
| OKLab | oklab(40.18% 0.0581 -0.1386) |
| OKLCH | oklch(40.18% 0.15 292.7) |
| XYZ | xyz(9.2315, 5.7469, 27.0030) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.51
Rebeccapurple
#663399
ΔE00 4.61
Blueberry
#464196
ΔE00 5.67
Indigo Blue
#3A18B1
ΔE00 7.31
Ocean Blue
#4F42B5
ΔE00 7.33
Indigo
#4B0082
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E3090 #729030
analogous
#304290 #4E3090 #7E3090
triadic
#4E3090 #904E30 #30904E
tetradic
#4E3090 #903042 #729030 #30907E
square
#4E3090 #903042 #729030 #30907E
split-complementary
#4E3090 #907E30 #429030
monochromatic
#1C1134 #352162 #4E3090 #673FBE #8B6CCE
Accessibility & contrast
On white
9.77
#4E3090 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4E3090 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E3090
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E3090 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E3090 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#3B475B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e3090; /* rgb */ color: rgb(78, 48, 144); /* oklch */ color: oklch(40.2% 0.150 292.7);
Tailwind
colors: {
custom: {
50: '#856ab1',
500: '#4e3090',
950: '#000000',
},
}SCSS
$custom: #4e3090; $custom-light: #856ab1; $custom-dark: #000000;
JSON
{
"hex": "#4e3090",
"rgb": {
"r": 78,
"g": 48,
"b": 144
},
"hsl": {
"h": 258.75,
"s": 50,
"l": 37.647
},
"oklch": {
"l": 0.40184,
"c": 0.15027,
"h": 292.7
},
"luminance": 0.05747
}Semantic roles & 50–950 ramp
primary
#4E3090
secondary
#9DB566
accent
#DA4EAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80