#4E2899#4E2899
#4E2899 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.171 H 292.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2899 |
|---|---|
| RGB | rgb(78, 40, 153) |
| HSL | hsl(260, 59%, 38%) |
| HSV | hsv(260, 74%, 60%) |
| CMYK | cmyk(49%, 73.9%, 0%, 40%) |
| CIE-LAB | lab(27.94, 43.83, -55.34) |
| CIE-LCH | lch(27.94, 70.59, 308.38°) |
| OKLab | oklab(39.83% 0.0646 -0.1587) |
| OKLCH | oklch(39.83% 0.171 292.1) |
| XYZ | xyz(9.6488, 5.4369, 30.6718) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.09
Rebeccapurple
#663399
ΔE00 5.12
Darkslateblue
#483D8B
ΔE00 6.74
Indigo
#4B0082
ΔE00 6.74
Violet Blue
#510AC9
ΔE00 6.98
Blueberry
#464196
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2899 #739928
analogous
#283A99 #4E2899 #862899
triadic
#4E2899 #994E28 #28994E
tetradic
#4E2899 #99283A #739928 #289986
square
#4E2899 #99283A #739928 #289986
split-complementary
#4E2899 #998628 #3A9928
monochromatic
#1D0F38 #351B68 #4E2899 #6735CA #8B65D7
Accessibility & contrast
On white
10.06
#4E2899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#4E2899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2899
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2899 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#36465E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4e2899; /* rgb */ color: rgb(78, 40, 153); /* oklch */ color: oklch(39.8% 0.171 292.1);
Tailwind
colors: {
custom: {
50: '#8766b8',
500: '#4e2899',
950: '#000000',
},
}SCSS
$custom: #4e2899; $custom-light: #8766b8; $custom-dark: #000000;
JSON
{
"hex": "#4e2899",
"rgb": {
"r": 78,
"g": 40,
"b": 153
},
"hsl": {
"h": 260.177,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.39834,
"c": 0.17138,
"h": 292.1
},
"luminance": 0.05437
}Semantic roles & 50–950 ramp
primary
#4E2899
secondary
#9EBD60
accent
#E246AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80