#4A2E99#4A2E99
#4A2E99 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.164 H 288.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2E99 |
|---|---|
| RGB | rgb(74, 46, 153) |
| HSL | hsl(256, 54%, 39%) |
| HSV | hsv(256, 70%, 60%) |
| CMYK | cmyk(51.6%, 69.9%, 0%, 40%) |
| CIE-LAB | lab(28.67, 39.91, -54.18) |
| CIE-LCH | lch(28.67, 67.29, 306.38°) |
| OKLab | oklab(40.25% 0.053 -0.1555) |
| OKLCH | oklch(40.25% 0.164 288.8) |
| XYZ | xyz(9.5491, 5.7093, 30.7297) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.35
Rebeccapurple
#663399
ΔE00 5.42
Indigo Blue
#3A18B1
ΔE00 5.65
Blueberry
#464196
ΔE00 5.83
Ocean Blue
#4F42B5
ΔE00 6.54
Sapphire (survey)
#2138AB
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2E99 #7D992E
analogous
#2E4899 #4A2E99 #802E99
triadic
#4A2E99 #994A2E #2E994A
tetradic
#4A2E99 #992E48 #7D992E #2E9980
square
#4A2E99 #992E48 #7D992E #2E9980
split-complementary
#4A2E99 #99802E #48992E
monochromatic
#1C123B #33206A #4A2E99 #623FC5 #896ED3
Accessibility & contrast
On white
9.80
#4A2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4A2E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2E99
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2E99 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#2E4960
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4a2e99; /* rgb */ color: rgb(74, 46, 153); /* oklch */ color: oklch(40.2% 0.164 288.8);
Tailwind
colors: {
custom: {
50: '#8469b8',
500: '#4a2e99',
950: '#000000',
},
}SCSS
$custom: #4a2e99; $custom-light: #8469b8; $custom-dark: #000000;
JSON
{
"hex": "#4a2e99",
"rgb": {
"r": 74,
"g": 46,
"b": 153
},
"hsl": {
"h": 255.701,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.40246,
"c": 0.16426,
"h": 288.8
},
"luminance": 0.0571
}Semantic roles & 50–950 ramp
primary
#4A2E99
secondary
#A5BB68
accent
#DD4BB7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80