#4E2F91#4E2F91
#4E2F91 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.153 H 292.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2F91 |
|---|---|
| RGB | rgb(78, 47, 145) |
| HSL | hsl(259, 51%, 38%) |
| HSV | hsv(259, 68%, 57%) |
| CMYK | cmyk(46.2%, 67.6%, 0%, 43.1%) |
| CIE-LAB | lab(28.63, 37.75, -49.30) |
| CIE-LCH | lch(28.63, 62.09, 307.44°) |
| OKLab | oklab(40.12% 0.059 -0.141) |
| OKLCH | oklch(40.12% 0.153 292.7) |
| XYZ | xyz(9.2678, 5.6968, 27.3939) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.61
Darkslateblue
#483D8B
ΔE00 4.80
Blueberry
#464196
ΔE00 5.89
Indigo Blue
#3A18B1
ΔE00 7.01
Ocean Blue
#4F42B5
ΔE00 7.35
Indigo
#4B0082
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2F91 #72912F
analogous
#2F4191 #4E2F91 #7F2F91
triadic
#4E2F91 #914E2F #2F914E
tetradic
#4E2F91 #912F41 #72912F #2F917F
square
#4E2F91 #912F41 #72912F #2F917F
split-complementary
#4E2F91 #917F2F #41912F
monochromatic
#1C1135 #352063 #4E2F91 #673EBF #8B6BCF
Accessibility & contrast
On white
9.82
#4E2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4E2F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2F91
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2F91 | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#3A475C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e2f91; /* rgb */ color: rgb(78, 47, 145); /* oklch */ color: oklch(40.1% 0.153 292.7);
Tailwind
colors: {
custom: {
50: '#866ab2',
500: '#4e2f91',
950: '#000000',
},
}SCSS
$custom: #4e2f91; $custom-light: #866ab2; $custom-dark: #000000;
JSON
{
"hex": "#4e2f91",
"rgb": {
"r": 78,
"g": 47,
"b": 145
},
"hsl": {
"h": 258.98,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.40115,
"c": 0.15289,
"h": 292.7
},
"luminance": 0.05697
}Semantic roles & 50–950 ramp
primary
#4E2F91
secondary
#9DB665
accent
#DB4DAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80