#4A219F#4A219F
#4A219F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.186 H 289.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4A219F |
|---|---|
| RGB | rgb(74, 33, 159) |
| HSL | hsl(260, 66%, 38%) |
| HSV | hsv(260, 79%, 62%) |
| CMYK | cmyk(53.5%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.87, 48.28, -60.79) |
| CIE-LCH | lch(26.87, 77.63, 308.46°) |
| OKLab | oklab(39.14% 0.0625 -0.1748) |
| OKLCH | oklch(39.14% 0.186 289.7) |
| XYZ | xyz(9.6241, 5.0463, 33.2611) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.42
Violet Blue
#510AC9
ΔE00 5.72
Ultramarine
#2000B1
ΔE00 6.08
Indigo
#4B0082
ΔE00 6.27
Rebeccapurple
#663399
ΔE00 6.52
Indigo (survey)
#380282
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A219F #769F21
analogous
#21379F #4A219F #89219F
triadic
#4A219F #9F4A21 #219F4A
tetradic
#4A219F #9F2137 #769F21 #219F89
square
#4A219F #9F2137 #769F21 #219F89
split-complementary
#4A219F #9F8921 #379F21
monochromatic
#1B0C3A #32166C #4A219F #622CD2 #875DDD
Accessibility & contrast
On white
10.45
#4A219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#4A219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A219F
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A219F | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#2A4560
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4a219f; /* rgb */ color: rgb(74, 33, 159); /* oklch */ color: oklch(39.1% 0.186 289.7);
Tailwind
colors: {
custom: {
50: '#8662bd',
500: '#4a219f',
950: '#000000',
},
}SCSS
$custom: #4a219f; $custom-light: #8662bd; $custom-dark: #000000;
JSON
{
"hex": "#4a219f",
"rgb": {
"r": 74,
"g": 33,
"b": 159
},
"hsl": {
"h": 259.524,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.39144,
"c": 0.18563,
"h": 289.7
},
"luminance": 0.05047
}Semantic roles & 50–950 ramp
primary
#4A219F
secondary
#A0C25A
accent
#E93FB1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81