#52209F#52209F
#52209F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.187 H 293.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #52209F |
|---|---|
| RGB | rgb(82, 32, 159) |
| HSL | hsl(264, 66%, 37%) |
| HSV | hsv(264, 80%, 62%) |
| CMYK | cmyk(48.4%, 79.9%, 0%, 37.6%) |
| CIE-LAB | lab(27.65, 49.85, -59.46) |
| CIE-LCH | lch(27.65, 77.59, 309.98°) |
| OKLab | oklab(39.91% 0.0758 -0.1706) |
| OKLCH | oklch(39.91% 0.187 293.9) |
| XYZ | xyz(10.2525, 5.3297, 33.2827) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.27
Rebeccapurple
#663399
ΔE00 5.61
Violet Blue
#510AC9
ΔE00 5.66
Indigo
#4B0082
ΔE00 6.06
Purple Blue
#5D21D0
ΔE00 6.84
Ultramarine
#2000B1
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52209F #6D9F20
analogous
#202E9F #52209F #91209F
triadic
#52209F #9F5220 #209F52
tetradic
#52209F #9F202E #6D9F20 #209F91
square
#52209F #9F202E #6D9F20 #209F91
split-complementary
#52209F #9F9120 #2E9F20
monochromatic
#1D0B39 #38166C #52209F #6C2AD2 #8F5BDE
Accessibility & contrast
On white
10.16
#52209F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#52209F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52209F
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52209F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52209F | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#3A4460
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #52209f; /* rgb */ color: rgb(82, 32, 159); /* oklch */ color: oklch(39.9% 0.187 293.9);
Tailwind
colors: {
custom: {
50: '#8b62bc',
500: '#52209f',
950: '#000000',
},
}SCSS
$custom: #52209f; $custom-light: #8b62bc; $custom-dark: #000000;
JSON
{
"hex": "#52209f",
"rgb": {
"r": 82,
"g": 32,
"b": 159
},
"hsl": {
"h": 263.622,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.39907,
"c": 0.18669,
"h": 293.9
},
"luminance": 0.0533
}Semantic roles & 50–950 ramp
primary
#52209F
secondary
#99C259
accent
#E93EA6
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81