#4E2F90#4E2F90
#4E2F90 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.0% C 0.152 H 293.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2F90 |
|---|---|
| RGB | rgb(78, 47, 144) |
| HSL | hsl(259, 51%, 37%) |
| HSV | hsv(259, 67%, 56%) |
| CMYK | cmyk(45.8%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(28.55, 37.46, -48.82) |
| CIE-LCH | lch(28.55, 61.53, 307.50°) |
| OKLab | oklab(40.03% 0.0592 -0.1396) |
| OKLCH | oklch(40.03% 0.152 293) |
| XYZ | xyz(9.1911, 5.6661, 26.9895) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.62
Darkslateblue
#483D8B
ΔE00 4.76
Blueberry
#464196
ΔE00 5.91
Indigo Blue
#3A18B1
ΔE00 7.15
Ocean Blue
#4F42B5
ΔE00 7.48
Indigo
#4B0082
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2F90 #71902F
analogous
#2F4190 #4E2F90 #7E2F90
triadic
#4E2F90 #904E2F #2F904E
tetradic
#4E2F90 #902F41 #71902F #2F907E
square
#4E2F90 #902F41 #71902F #2F907E
split-complementary
#4E2F90 #907E2F #41902F
monochromatic
#1C1134 #352062 #4E2F90 #673EBE #8B6BCF
Accessibility & contrast
On white
9.84
#4E2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4E2F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2F90
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2F90 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#3B465B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e2f90; /* rgb */ color: rgb(78, 47, 144); /* oklch */ color: oklch(40.0% 0.152 293.0);
Tailwind
colors: {
custom: {
50: '#856ab1',
500: '#4e2f90',
950: '#000000',
},
}SCSS
$custom: #4e2f90; $custom-light: #856ab1; $custom-dark: #000000;
JSON
{
"hex": "#4e2f90",
"rgb": {
"r": 78,
"g": 47,
"b": 144
},
"hsl": {
"h": 259.175,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.40032,
"c": 0.15163,
"h": 293
},
"luminance": 0.05666
}Semantic roles & 50–950 ramp
primary
#4E2F90
secondary
#9CB665
accent
#DA4EAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80