#52199E#52199E
#52199E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.192 H 295.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #52199E |
|---|---|
| RGB | rgb(82, 25, 158) |
| HSL | hsl(266, 73%, 36%) |
| HSV | hsv(266, 84%, 62%) |
| CMYK | cmyk(48.1%, 84.2%, 0%, 38%) |
| CIE-LAB | lab(26.61, 52.34, -60.56) |
| CIE-LCH | lch(26.61, 80.05, 310.84°) |
| OKLab | oklab(39.16% 0.081 -0.1738) |
| OKLCH | oklch(39.16% 0.192 295) |
| XYZ | xyz(9.9972, 4.9574, 32.7713) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.22
Indigo
#4B0082
ΔE00 5.22
Violet Blue
#510AC9
ΔE00 5.64
Indigo (survey)
#380282
ΔE00 6.24
Rebeccapurple
#663399
ΔE00 6.35
Ultramarine
#2000B1
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52199E #659E19
analogous
#19229E #52199E #94199E
triadic
#52199E #9E5219 #199E52
tetradic
#52199E #9E1922 #659E19 #199E94
square
#52199E #9E1922 #659E19 #199E94
split-complementary
#52199E #9E9419 #229E19
monochromatic
#1B0834 #371169 #52199E #6D21D3 #8E4EE3
Accessibility & contrast
On white
10.54
#52199E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#52199E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52199E
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52199E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52199E | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#3B415E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #52199e; /* rgb */ color: rgb(82, 25, 158); /* oklch */ color: oklch(39.2% 0.192 295.0);
Tailwind
colors: {
custom: {
50: '#8b5fbc',
500: '#52199e',
950: '#000000',
},
}SCSS
$custom: #52199e; $custom-light: #8b5fbc; $custom-dark: #000000;
JSON
{
"hex": "#52199e",
"rgb": {
"r": 82,
"g": 25,
"b": 158
},
"hsl": {
"h": 265.714,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.39157,
"c": 0.19171,
"h": 295
},
"luminance": 0.04958
}Semantic roles & 50–950 ramp
primary
#52199E
secondary
#92C54E
accent
#EF38A1
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981