#52219F#52219F
#52219F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.186 H 293.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #52219F |
|---|---|
| RGB | rgb(82, 33, 159) |
| HSL | hsl(263, 66%, 38%) |
| HSV | hsv(263, 79%, 62%) |
| CMYK | cmyk(48.4%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.80, 49.42, -59.22) |
| CIE-LCH | lch(27.80, 77.13, 309.85°) |
| OKLab | oklab(40.01% 0.075 -0.1699) |
| OKLCH | oklch(40.01% 0.186 293.8) |
| XYZ | xyz(10.2798, 5.3844, 33.2918) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.32
Rebeccapurple
#663399
ΔE00 5.50
Violet Blue
#510AC9
ΔE00 5.70
Indigo
#4B0082
ΔE00 6.19
Purple Blue
#5D21D0
ΔE00 6.81
Ultramarine
#2000B1
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52219F #6E9F21
analogous
#212F9F #52219F #91219F
triadic
#52219F #9F5221 #219F52
tetradic
#52219F #9F212F #6E9F21 #219F91
square
#52219F #9F212F #6E9F21 #219F91
split-complementary
#52219F #9F9121 #2F9F21
monochromatic
#1E0C3A #38166C #52219F #6C2CD2 #8F5DDD
Accessibility & contrast
On white
10.11
#52219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#52219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52219F
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52219F | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#3A4560
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #52219f; /* rgb */ color: rgb(82, 33, 159); /* oklch */ color: oklch(40.0% 0.186 293.8);
Tailwind
colors: {
custom: {
50: '#8b63bc',
500: '#52219f',
950: '#000000',
},
}SCSS
$custom: #52219f; $custom-light: #8b63bc; $custom-dark: #000000;
JSON
{
"hex": "#52219f",
"rgb": {
"r": 82,
"g": 33,
"b": 159
},
"hsl": {
"h": 263.333,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.4001,
"c": 0.18573,
"h": 293.8
},
"luminance": 0.05385
}Semantic roles & 50–950 ramp
primary
#52219F
secondary
#99C25A
accent
#E93FA7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81