#4A219C#4A219C
#4A219C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.182 H 290.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4A219C |
|---|---|
| RGB | rgb(74, 33, 156) |
| HSL | hsl(260, 65%, 37%) |
| HSV | hsv(260, 79%, 61%) |
| CMYK | cmyk(52.6%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(26.57, 47.45, -59.44) |
| CIE-LCH | lch(26.57, 76.06, 308.60°) |
| OKLab | oklab(38.85% 0.0634 -0.1708) |
| OKLCH | oklch(38.85% 0.182 290.4) |
| XYZ | xyz(9.3669, 4.9435, 31.9067) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.76
Indigo
#4B0082
ΔE00 5.96
Violet Blue
#510AC9
ΔE00 6.12
Ultramarine
#2000B1
ΔE00 6.27
Indigo (survey)
#380282
ΔE00 6.32
Rebeccapurple
#663399
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A219C #739C21
analogous
#21369C #4A219C #88219C
triadic
#4A219C #9C4A21 #219C4A
tetradic
#4A219C #9C2136 #739C21 #219C88
square
#4A219C #9C2136 #739C21 #219C88
split-complementary
#4A219C #9C8821 #369C21
monochromatic
#1A0C37 #321669 #4A219C #622CCF #865BDC
Accessibility & contrast
On white
10.56
#4A219C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#4A219C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A219C
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A219C | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#2C445E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4a219c; /* rgb */ color: rgb(74, 33, 156); /* oklch */ color: oklch(38.9% 0.182 290.4);
Tailwind
colors: {
custom: {
50: '#8662ba',
500: '#4a219c',
950: '#000000',
},
}SCSS
$custom: #4a219c; $custom-light: #8662ba; $custom-dark: #000000;
JSON
{
"hex": "#4a219c",
"rgb": {
"r": 74,
"g": 33,
"b": 156
},
"hsl": {
"h": 260,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.3885,
"c": 0.18224,
"h": 290.4
},
"luminance": 0.04944
}Semantic roles & 50–950 ramp
primary
#4A219C
secondary
#9EC158
accent
#E840B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81