#4A219D#4A219D
#4A219D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.183 H 290.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4A219D |
|---|---|
| RGB | rgb(74, 33, 157) |
| HSL | hsl(260, 65%, 37%) |
| HSV | hsv(260, 79%, 62%) |
| CMYK | cmyk(52.9%, 79%, 0%, 38.4%) |
| CIE-LAB | lab(26.67, 47.72, -59.89) |
| CIE-LCH | lch(26.67, 76.58, 308.55°) |
| OKLab | oklab(38.95% 0.0631 -0.1722) |
| OKLCH | oklch(38.95% 0.183 290.1) |
| XYZ | xyz(9.4519, 4.9775, 32.3545) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.64
Violet Blue
#510AC9
ΔE00 5.99
Indigo
#4B0082
ΔE00 6.06
Ultramarine
#2000B1
ΔE00 6.20
Indigo (survey)
#380282
ΔE00 6.41
Rebeccapurple
#663399
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A219D #749D21
analogous
#21369D #4A219D #88219D
triadic
#4A219D #9D4A21 #219D4A
tetradic
#4A219D #9D2136 #749D21 #219D88
square
#4A219D #9D2136 #749D21 #219D88
split-complementary
#4A219D #9D8821 #369D21
monochromatic
#1A0C38 #32166A #4A219D #622CD0 #865CDD
Accessibility & contrast
On white
10.52
#4A219D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4A219D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A219D
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A219D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A219D | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#2B445F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4a219d; /* rgb */ color: rgb(74, 33, 157); /* oklch */ color: oklch(38.9% 0.183 290.1);
Tailwind
colors: {
custom: {
50: '#8662bb',
500: '#4a219d',
950: '#000000',
},
}SCSS
$custom: #4a219d; $custom-light: #8662bb; $custom-dark: #000000;
JSON
{
"hex": "#4a219d",
"rgb": {
"r": 74,
"g": 33,
"b": 157
},
"hsl": {
"h": 259.839,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.38948,
"c": 0.18337,
"h": 290.1
},
"luminance": 0.04978
}Semantic roles & 50–950 ramp
primary
#4A219D
secondary
#9FC159
accent
#E840B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81