#4A219B#4A219B
#4A219B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.181 H 290.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4A219B |
|---|---|
| RGB | rgb(74, 33, 155) |
| HSL | hsl(260, 65%, 37%) |
| HSV | hsv(260, 79%, 61%) |
| CMYK | cmyk(52.3%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(26.48, 47.17, -58.99) |
| CIE-LCH | lch(26.48, 75.53, 308.65°) |
| OKLab | oklab(38.75% 0.0637 -0.1695) |
| OKLCH | oklch(38.75% 0.181 290.6) |
| XYZ | xyz(9.2826, 4.9097, 31.4626) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.88
Indigo
#4B0082
ΔE00 5.85
Indigo (survey)
#380282
ΔE00 6.24
Violet Blue
#510AC9
ΔE00 6.26
Ultramarine
#2000B1
ΔE00 6.34
Rebeccapurple
#663399
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A219B #729B21
analogous
#21359B #4A219B #87219B
triadic
#4A219B #9B4A21 #219B4A
tetradic
#4A219B #9B2135 #729B21 #219B87
square
#4A219B #9B2135 #729B21 #219B87
split-complementary
#4A219B #9B8721 #359B21
monochromatic
#1A0C36 #321669 #4A219B #622CCD #865ADC
Accessibility & contrast
On white
10.60
#4A219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#4A219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A219B
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A219B | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#2D445D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4a219b; /* rgb */ color: rgb(74, 33, 155); /* oklch */ color: oklch(38.8% 0.181 290.6);
Tailwind
colors: {
custom: {
50: '#8662ba',
500: '#4a219b',
950: '#000000',
},
}SCSS
$custom: #4a219b; $custom-light: #8662ba; $custom-dark: #000000;
JSON
{
"hex": "#4a219b",
"rgb": {
"r": 74,
"g": 33,
"b": 155
},
"hsl": {
"h": 260.164,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.38753,
"c": 0.18111,
"h": 290.6
},
"luminance": 0.0491
}Semantic roles & 50–950 ramp
primary
#4A219B
secondary
#9DC058
accent
#E840AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81