#4A219E#4A219E
#4A219E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.184 H 289.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #4A219E |
|---|---|
| RGB | rgb(74, 33, 158) |
| HSL | hsl(260, 65%, 37%) |
| HSV | hsv(260, 79%, 62%) |
| CMYK | cmyk(53.2%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(26.77, 48.00, -60.34) |
| CIE-LCH | lch(26.77, 77.10, 308.50°) |
| OKLab | oklab(39.05% 0.0628 -0.1735) |
| OKLCH | oklch(39.05% 0.185 289.9) |
| XYZ | xyz(9.5377, 5.0118, 32.8059) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.53
Violet Blue
#510AC9
ΔE00 5.85
Ultramarine
#2000B1
ΔE00 6.14
Indigo
#4B0082
ΔE00 6.16
Rebeccapurple
#663399
ΔE00 6.49
Indigo (survey)
#380282
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A219E #759E21
analogous
#21379E #4A219E #89219E
triadic
#4A219E #9E4A21 #219E4A
tetradic
#4A219E #9E2137 #759E21 #219E89
square
#4A219E #9E2137 #759E21 #219E89
split-complementary
#4A219E #9E8921 #379E21
monochromatic
#1B0C39 #32166B #4A219E #622CD1 #875CDD
Accessibility & contrast
On white
10.49
#4A219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4A219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A219E
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A219E | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#2B455F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4a219e; /* rgb */ color: rgb(74, 33, 158); /* oklch */ color: oklch(39.0% 0.184 289.9);
Tailwind
colors: {
custom: {
50: '#8662bc',
500: '#4a219e',
950: '#000000',
},
}SCSS
$custom: #4a219e; $custom-light: #8662bc; $custom-dark: #000000;
JSON
{
"hex": "#4a219e",
"rgb": {
"r": 74,
"g": 33,
"b": 158
},
"hsl": {
"h": 259.68,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.39046,
"c": 0.1845,
"h": 289.9
},
"luminance": 0.05012
}Semantic roles & 50–950 ramp
primary
#4A219E
secondary
#9FC159
accent
#E83FB1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81