#4E2999#4E2999
#4E2999 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.170 H 292.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2999 |
|---|---|
| RGB | rgb(78, 41, 153) |
| HSL | hsl(260, 58%, 38%) |
| HSV | hsv(260, 73%, 60%) |
| CMYK | cmyk(49%, 73.2%, 0%, 40%) |
| CIE-LAB | lab(28.13, 43.32, -55.04) |
| CIE-LCH | lch(28.13, 70.04, 308.20°) |
| OKLab | oklab(39.96% 0.0637 -0.1579) |
| OKLCH | oklch(39.96% 0.17 292) |
| XYZ | xyz(9.6830, 5.5051, 30.6832) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.04
Indigo Blue
#3A18B1
ΔE00 5.20
Darkslateblue
#483D8B
ΔE00 6.54
Indigo
#4B0082
ΔE00 6.93
Violet Blue
#510AC9
ΔE00 7.07
Blueberry
#464196
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2999 #749929
analogous
#293C99 #4E2999 #862999
triadic
#4E2999 #994E29 #29994E
tetradic
#4E2999 #99293C #749929 #299986
square
#4E2999 #99293C #749929 #299986
split-complementary
#4E2999 #998629 #3C9929
monochromatic
#1D0F38 #351C69 #4E2999 #6736C9 #8B66D6
Accessibility & contrast
On white
10.00
#4E2999 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4E2999 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2999
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2999 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2999 | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 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: #4e2999; /* rgb */ color: rgb(78, 41, 153); /* oklch */ color: oklch(40.0% 0.170 292.0);
Tailwind
colors: {
custom: {
50: '#8766b8',
500: '#4e2999',
950: '#000000',
},
}SCSS
$custom: #4e2999; $custom-light: #8766b8; $custom-dark: #000000;
JSON
{
"hex": "#4e2999",
"rgb": {
"r": 78,
"g": 41,
"b": 153
},
"hsl": {
"h": 259.821,
"s": 57.732,
"l": 38.039
},
"oklch": {
"l": 0.39964,
"c": 0.17022,
"h": 292
},
"luminance": 0.05505
}Semantic roles & 50–950 ramp
primary
#4E2999
secondary
#9EBC62
accent
#E147AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80