#4E3E89#4E3E89
#4E3E89 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.0% C 0.120 H 290.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4E3E89 |
|---|---|
| RGB | rgb(78, 62, 137) |
| HSL | hsl(253, 38%, 39%) |
| HSV | hsv(253, 55%, 54%) |
| CMYK | cmyk(43.1%, 54.7%, 0%, 46.3%) |
| CIE-LAB | lab(31.51, 26.26, -39.72) |
| CIE-LCH | lch(31.51, 47.62, 303.47°) |
| OKLab | oklab(42.04% 0.0412 -0.1128) |
| OKLCH | oklch(42.04% 0.12 290.1) |
| XYZ | xyz(9.3786, 6.8708, 24.4941) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.46
Blueberry
#464196
ΔE00 3.38
Rebeccapurple
#663399
ΔE00 6.61
Twilight
#4E518B
ΔE00 6.73
Ocean Blue
#4F42B5
ΔE00 7.33
Dusk
#4E5481
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E3E89 #79893E
analogous
#3E5489 #4E3E89 #743E89
triadic
#4E3E89 #894E3E #3E894E
tetradic
#4E3E89 #893E54 #79893E #3E8974
square
#4E3E89 #893E54 #79893E #3E8974
split-complementary
#4E3E89 #89743E #54893E
monochromatic
#1E1835 #362B5F #4E3E89 #6753B1 #8C7DC4
Accessibility & contrast
On white
8.85
#4E3E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#4E3E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E3E89
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E3E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E3E89 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4C8C
Deuteranopia (green-blind)
#1D4887
Tritanopia (blue-blind)
#3D4E5D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4e3e89; /* rgb */ color: rgb(78, 62, 137); /* oklch */ color: oklch(42.0% 0.120 290.1);
Tailwind
colors: {
custom: {
50: '#8373ac',
500: '#4e3e89',
950: '#000000',
},
}SCSS
$custom: #4e3e89; $custom-light: #8373ac; $custom-dark: #000000;
JSON
{
"hex": "#4e3e89",
"rgb": {
"r": 78,
"g": 62,
"b": 137
},
"hsl": {
"h": 252.8,
"s": 37.688,
"l": 39.02
},
"oklch": {
"l": 0.42036,
"c": 0.12015,
"h": 290.1
},
"luminance": 0.06871
}Semantic roles & 50–950 ramp
primary
#4E3E89
secondary
#A2AE74
accent
#CE5AB5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F