#4A2EB1#4A2EB1
#4A2EB1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.194 H 284.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2EB1 |
|---|---|
| RGB | rgb(74, 46, 177) |
| HSL | hsl(253, 59%, 44%) |
| HSV | hsv(253, 74%, 69%) |
| CMYK | cmyk(58.2%, 74%, 0%, 30.6%) |
| CIE-LAB | lab(30.84, 47.08, -65.11) |
| CIE-LCH | lch(30.84, 80.34, 305.87°) |
| OKLab | oklab(42.46% 0.048 -0.1875) |
| OKLCH | oklch(42.46% 0.194 284.3) |
| XYZ | xyz(11.7344, 6.5834, 42.2388) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.40
Blue With A Hint Of Purple
#533CC6
ΔE00 4.61
Blurple
#5539CC
ΔE00 4.83
Purple Blue
#5D21D0
ΔE00 5.02
Ocean Blue
#4F42B5
ΔE00 5.04
Violet Blue
#510AC9
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2EB1 #95B12E
analogous
#2E54B1 #4A2EB1 #8B2EB1
triadic
#4A2EB1 #B14A2E #2EB14A
tetradic
#4A2EB1 #B12E54 #95B12E #2EB18B
square
#4A2EB1 #B12E54 #95B12E #2EB18B
split-complementary
#4A2EB1 #B18B2E #54B12E
monochromatic
#211550 #362180 #4A2EB1 #684CD0 #917CDD
Accessibility & contrast
On white
9.06
#4A2EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#4A2EB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2EB1
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2EB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2EB1 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#10526D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4a2eb1; /* rgb */ color: rgb(74, 46, 177); /* oklch */ color: oklch(42.5% 0.194 284.3);
Tailwind
colors: {
custom: {
50: '#886ac9',
500: '#4a2eb1',
950: '#000000',
},
}SCSS
$custom: #4a2eb1; $custom-light: #886ac9; $custom-dark: #000000;
JSON
{
"hex": "#4a2eb1",
"rgb": {
"r": 74,
"g": 46,
"b": 177
},
"hsl": {
"h": 252.824,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.42456,
"c": 0.19357,
"h": 284.3
},
"luminance": 0.06584
}Semantic roles & 50–950 ramp
primary
#4A2EB1
secondary
#B4C675
accent
#E246C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82