#52209C#52209C
#52209C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.183 H 294.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #52209C |
|---|---|
| RGB | rgb(82, 32, 156) |
| HSL | hsl(264, 66%, 37%) |
| HSV | hsv(264, 79%, 61%) |
| CMYK | cmyk(47.4%, 79.5%, 0%, 38.8%) |
| CIE-LAB | lab(27.37, 49.06, -58.09) |
| CIE-LCH | lch(27.37, 76.04, 310.18°) |
| OKLab | oklab(39.62% 0.0767 -0.1666) |
| OKLCH | oklch(39.62% 0.183 294.7) |
| XYZ | xyz(9.9953, 5.2269, 31.9283) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.59
Rebeccapurple
#663399
ΔE00 5.51
Indigo
#4B0082
ΔE00 5.74
Violet Blue
#510AC9
ΔE00 6.09
Indigo (survey)
#380282
ΔE00 6.75
Ultramarine
#2000B1
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52209C #6A9C20
analogous
#202C9C #52209C #90209C
triadic
#52209C #9C5220 #209C52
tetradic
#52209C #9C202C #6A9C20 #209C90
square
#52209C #9C202C #6A9C20 #209C90
split-complementary
#52209C #9C9020 #2C9C20
monochromatic
#1D0B36 #371669 #52209C #6D2ACF #8E59DD
Accessibility & contrast
On white
10.27
#52209C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#52209C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52209C
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52209C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52209C | 1.00 | 10.27 | 2.05 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#3C435E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #52209c; /* rgb */ color: rgb(82, 32, 156); /* oklch */ color: oklch(39.6% 0.183 294.7);
Tailwind
colors: {
custom: {
50: '#8a62ba',
500: '#52209c',
950: '#000000',
},
}SCSS
$custom: #52209c; $custom-light: #8a62ba; $custom-dark: #000000;
JSON
{
"hex": "#52209c",
"rgb": {
"r": 82,
"g": 32,
"b": 156
},
"hsl": {
"h": 264.194,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.39624,
"c": 0.18343,
"h": 294.7
},
"luminance": 0.05227
}Semantic roles & 50–950 ramp
primary
#52209C
secondary
#96C157
accent
#E93FA4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81