#4A19A0#4A19A0
#4A19A0 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.194 H 290.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4A19A0 |
|---|---|
| RGB | rgb(74, 25, 160) |
| HSL | hsl(262, 73%, 36%) |
| HSV | hsv(262, 84%, 63%) |
| CMYK | cmyk(53.7%, 84.4%, 0%, 37.3%) |
| CIE-LAB | lab(25.83, 51.87, -63.11) |
| CIE-LCH | lch(25.83, 81.69, 309.42°) |
| OKLab | oklab(38.46% 0.0674 -0.1815) |
| OKLCH | oklch(38.46% 0.194 290.4) |
| XYZ | xyz(9.5150, 4.6887, 33.6546) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.07
Ultramarine
#2000B1
ΔE00 5.28
Violet Blue
#510AC9
ΔE00 5.38
Indigo
#4B0082
ΔE00 5.51
Indigo (survey)
#380282
ΔE00 5.83
Cobalt Blue
#030AA7
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A19A0 #6FA019
analogous
#192CA0 #4A19A0 #8E19A0
triadic
#4A19A0 #A04A19 #19A04A
tetradic
#4A19A0 #A0192C #6FA019 #19A08E
square
#4A19A0 #A0192C #6FA019 #19A08E
split-complementary
#4A19A0 #A08E19 #2CA019
monochromatic
#190836 #32116B #4A19A0 #6221D5 #8550E4
Accessibility & contrast
On white
10.84
#4A19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4A19A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A19A0
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A19A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A19A0 | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#29435F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4a19a0; /* rgb */ color: rgb(74, 25, 160); /* oklch */ color: oklch(38.5% 0.194 290.4);
Tailwind
colors: {
custom: {
50: '#875ebd',
500: '#4a19a0',
950: '#000000',
},
}SCSS
$custom: #4a19a0; $custom-light: #875ebd; $custom-dark: #000000;
JSON
{
"hex": "#4a19a0",
"rgb": {
"r": 74,
"g": 25,
"b": 160
},
"hsl": {
"h": 261.778,
"s": 72.973,
"l": 36.275
},
"oklch": {
"l": 0.38457,
"c": 0.19359,
"h": 290.4
},
"luminance": 0.04689
}Semantic roles & 50–950 ramp
primary
#4A19A0
secondary
#9BC64F
accent
#F038AD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981