#4A1EA1#4A1EA1
#4A1EA1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.191 H 289.6°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4A1EA1 |
|---|---|
| RGB | rgb(74, 30, 161) |
| HSL | hsl(260, 69%, 37%) |
| HSV | hsv(260, 81%, 63%) |
| CMYK | cmyk(54%, 81.4%, 0%, 36.9%) |
| CIE-LAB | lab(26.61, 50.14, -62.42) |
| CIE-LCH | lch(26.61, 80.07, 308.77°) |
| OKLab | oklab(39.03% 0.0639 -0.1795) |
| OKLCH | oklch(39.03% 0.191 289.6) |
| XYZ | xyz(9.7195, 4.9571, 34.1560) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.05
Violet Blue
#510AC9
ΔE00 5.33
Ultramarine
#2000B1
ΔE00 5.65
Indigo
#4B0082
ΔE00 6.12
Cobalt Blue
#030AA7
ΔE00 6.38
Indigo (survey)
#380282
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A1EA1 #75A11E
analogous
#1E33A1 #4A1EA1 #8C1EA1
triadic
#4A1EA1 #A14A1E #1EA14A
tetradic
#4A1EA1 #A11E33 #75A11E #1EA18C
square
#4A1EA1 #A11E33 #75A11E #1EA18C
split-complementary
#4A1EA1 #A18C1E #33A11E
monochromatic
#1B0B3A #32146D #4A1EA1 #6228D5 #8759E0
Accessibility & contrast
On white
10.54
#4A1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#4A1EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A1EA1
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A1EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A1EA1 | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#284560
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4a1ea1; /* rgb */ color: rgb(74, 30, 161); /* oklch */ color: oklch(39.0% 0.191 289.6);
Tailwind
colors: {
custom: {
50: '#8760be',
500: '#4a1ea1',
950: '#000000',
},
}SCSS
$custom: #4a1ea1; $custom-light: #8760be; $custom-dark: #000000;
JSON
{
"hex": "#4a1ea1",
"rgb": {
"r": 74,
"g": 30,
"b": 161
},
"hsl": {
"h": 260.153,
"s": 68.586,
"l": 37.451
},
"oklch": {
"l": 0.39027,
"c": 0.19059,
"h": 289.6
},
"luminance": 0.04958
}Semantic roles & 50–950 ramp
primary
#4A1EA1
secondary
#9FC457
accent
#EB3CB1
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981