#4E2A99#4E2A99
#4E2A99 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.169 H 291.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2A99 |
|---|---|
| RGB | rgb(78, 42, 153) |
| HSL | hsl(259, 57%, 38%) |
| HSV | hsv(259, 73%, 60%) |
| CMYK | cmyk(49%, 72.5%, 0%, 40%) |
| CIE-LAB | lab(28.31, 42.79, -54.73) |
| CIE-LCH | lch(28.31, 69.48, 308.02°) |
| OKLab | oklab(40.1% 0.0627 -0.157) |
| OKLCH | oklch(40.1% 0.169 291.8) |
| XYZ | xyz(9.7180, 5.5752, 30.6949) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.96
Indigo Blue
#3A18B1
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 6.33
Blueberry
#464196
ΔE00 6.97
Indigo
#4B0082
ΔE00 7.12
Violet Blue
#510AC9
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2A99 #75992A
analogous
#2A3E99 #4E2A99 #852A99
triadic
#4E2A99 #994E2A #2A994E
tetradic
#4E2A99 #992A3E #75992A #2A9985
square
#4E2A99 #992A3E #75992A #2A9985
split-complementary
#4E2A99 #99852A #3E992A
monochromatic
#1D1039 #361D69 #4E2A99 #6738C8 #8B68D6
Accessibility & contrast
On white
9.93
#4E2A99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4E2A99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2A99
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2A99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2A99 | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#36475E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e2a99; /* rgb */ color: rgb(78, 42, 153); /* oklch */ color: oklch(40.1% 0.169 291.8);
Tailwind
colors: {
custom: {
50: '#8767b8',
500: '#4e2a99',
950: '#000000',
},
}SCSS
$custom: #4e2a99; $custom-light: #8767b8; $custom-dark: #000000;
JSON
{
"hex": "#4e2a99",
"rgb": {
"r": 78,
"g": 42,
"b": 153
},
"hsl": {
"h": 259.459,
"s": 56.923,
"l": 38.235
},
"oklch": {
"l": 0.40096,
"c": 0.16904,
"h": 291.8
},
"luminance": 0.05576
}Semantic roles & 50–950 ramp
primary
#4E2A99
secondary
#9FBC63
accent
#E048AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80