#4E2E91#4E2E91
#4E2E91 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.154 H 292.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2E91 |
|---|---|
| RGB | rgb(78, 46, 145) |
| HSL | hsl(259, 52%, 37%) |
| HSV | hsv(259, 68%, 57%) |
| CMYK | cmyk(46.2%, 68.3%, 0%, 43.1%) |
| CIE-LAB | lab(28.43, 38.31, -49.64) |
| CIE-LCH | lch(28.43, 62.71, 307.66°) |
| OKLab | oklab(39.97% 0.0601 -0.142) |
| OKLCH | oklch(39.97% 0.154 292.9) |
| XYZ | xyz(9.2283, 5.6177, 27.3807) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.63
Darkslateblue
#483D8B
ΔE00 5.04
Blueberry
#464196
ΔE00 6.13
Indigo Blue
#3A18B1
ΔE00 6.86
Ocean Blue
#4F42B5
ΔE00 7.51
Indigo
#4B0082
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2E91 #71912E
analogous
#2E4091 #4E2E91 #7F2E91
triadic
#4E2E91 #914E2E #2E914E
tetradic
#4E2E91 #912E40 #71912E #2E917F
square
#4E2E91 #912E40 #71912E #2E917F
split-complementary
#4E2E91 #917F2E #40912E
monochromatic
#1C1134 #351F63 #4E2E91 #673DBF #8B6AD0
Accessibility & contrast
On white
9.89
#4E2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4E2E91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2E91
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2E91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2E91 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#3A465B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e2e91; /* rgb */ color: rgb(78, 46, 145); /* oklch */ color: oklch(40.0% 0.154 292.9);
Tailwind
colors: {
custom: {
50: '#8669b2',
500: '#4e2e91',
950: '#000000',
},
}SCSS
$custom: #4e2e91; $custom-light: #8669b2; $custom-dark: #000000;
JSON
{
"hex": "#4e2e91",
"rgb": {
"r": 78,
"g": 46,
"b": 145
},
"hsl": {
"h": 259.394,
"s": 51.832,
"l": 37.451
},
"oklch": {
"l": 0.39966,
"c": 0.15422,
"h": 292.9
},
"luminance": 0.05618
}Semantic roles & 50–950 ramp
primary
#4E2E91
secondary
#9CB764
accent
#DB4DAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80