#52249F#52249F
#52249F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.183 H 293.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #52249F |
|---|---|
| RGB | rgb(82, 36, 159) |
| HSL | hsl(262, 63%, 38%) |
| HSV | hsv(262, 77%, 62%) |
| CMYK | cmyk(48.4%, 77.4%, 0%, 37.6%) |
| CIE-LAB | lab(28.27, 48.07, -58.45) |
| CIE-LCH | lch(28.27, 75.68, 309.44°) |
| OKLab | oklab(40.34% 0.0726 -0.1677) |
| OKLCH | oklch(40.34% 0.183 293.4) |
| XYZ | xyz(10.3668, 5.5585, 33.3208) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.52
Rebeccapurple
#663399
ΔE00 5.17
Violet Blue
#510AC9
ΔE00 5.87
Indigo
#4B0082
ΔE00 6.59
Purple Blue
#5D21D0
ΔE00 6.75
Ultramarine
#2000B1
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52249F #719F24
analogous
#24339F #52249F #8F249F
triadic
#52249F #9F5224 #249F52
tetradic
#52249F #9F2433 #719F24 #249F8F
square
#52249F #9F2433 #719F24 #249F8F
split-complementary
#52249F #9F8F24 #339F24
monochromatic
#1F0D3B #38196D #52249F #6C30D0 #8F62DB
Accessibility & contrast
On white
9.94
#52249F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#52249F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52249F
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52249F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52249F | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#3A4660
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #52249f; /* rgb */ color: rgb(82, 36, 159); /* oklch */ color: oklch(40.3% 0.183 293.4);
Tailwind
colors: {
custom: {
50: '#8b64bc',
500: '#52249f',
950: '#000000',
},
}SCSS
$custom: #52249f; $custom-light: #8b64bc; $custom-dark: #000000;
JSON
{
"hex": "#52249f",
"rgb": {
"r": 82,
"g": 36,
"b": 159
},
"hsl": {
"h": 262.439,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.40336,
"c": 0.18274,
"h": 293.4
},
"luminance": 0.05559
}Semantic roles & 50–950 ramp
primary
#52249F
secondary
#9CC15E
accent
#E642A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81