#4A216F#4A216F
#4A216F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.130 H 304.6°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4A216F |
|---|---|
| RGB | rgb(74, 33, 111) |
| HSL | hsl(272, 54%, 28%) |
| HSV | hsv(272, 70%, 44%) |
| CMYK | cmyk(33.3%, 70.3%, 0%, 56.5%) |
| CIE-LAB | lab(22.62, 35.19, -37.66) |
| CIE-LCH | lch(22.62, 51.54, 313.06°) |
| OKLab | oklab(34.84% 0.0737 -0.1069) |
| OKLCH | oklch(34.84% 0.13 304.6) |
| XYZ | xyz(6.2365, 3.6913, 15.4198) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.07
Indigo
#4B0082
ΔE00 6.10
Indigo (survey)
#380282
ΔE00 7.44
Plum Purple
#4E0550
ΔE00 8.09
Rebeccapurple
#663399
ΔE00 8.49
Midnight Blue
#191970
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A216F #466F21
analogous
#23216F #4A216F #6F216D
triadic
#4A216F #6F4A21 #216F4A
tetradic
#4A216F #6F2321 #466F21 #216D6F
square
#4A216F #6F2321 #466F21 #216D6F
split-complementary
#4A216F #6D6F21 #216F23
monochromatic
#100718 #2B1340 #4A216F #692F9E #8943C7
Accessibility & contrast
On white
12.08
#4A216F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#4A216F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A216F
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A216F | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#07366D
Tritanopia (blue-blind)
#433245
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #4a216f; /* rgb */ color: rgb(74, 33, 111); /* oklch */ color: oklch(34.8% 0.130 304.6);
Tailwind
colors: {
custom: {
50: '#805f99',
500: '#4a216f',
950: '#000000',
},
}SCSS
$custom: #4a216f; $custom-light: #805f99; $custom-dark: #000000;
JSON
{
"hex": "#4a216f",
"rgb": {
"r": 74,
"g": 33,
"b": 111
},
"hsl": {
"h": 271.538,
"s": 54.167,
"l": 28.235
},
"oklch": {
"l": 0.34838,
"c": 0.12985,
"h": 304.6
},
"luminance": 0.03691
}Semantic roles & 50–950 ramp
primary
#4A216F
secondary
#74A349
accent
#DE4A90
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E