#52259C#52259C
#52259C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.178 H 294.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #52259C |
|---|---|
| RGB | rgb(82, 37, 156) |
| HSL | hsl(263, 62%, 38%) |
| HSV | hsv(263, 76%, 61%) |
| CMYK | cmyk(47.4%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(28.16, 46.80, -56.80) |
| CIE-LCH | lch(28.16, 73.60, 309.48°) |
| OKLab | oklab(40.17% 0.0726 -0.1629) |
| OKLCH | oklch(40.17% 0.178 294) |
| XYZ | xyz(10.1403, 5.5170, 31.9766) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.90
Rebeccapurple
#663399
ΔE00 4.94
Violet Blue
#510AC9
ΔE00 6.35
Indigo
#4B0082
ΔE00 6.45
Purple Blue
#5D21D0
ΔE00 7.17
Indigo (survey)
#380282
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52259C #6F9C25
analogous
#25339C #52259C #8D259C
triadic
#52259C #9C5225 #259C52
tetradic
#52259C #9C2533 #6F9C25 #259C8D
square
#52259C #9C2533 #6F9C25 #259C8D
split-complementary
#52259C #9C8D25 #339C25
monochromatic
#1E0E39 #38196B #52259C #6C31CD #8F62DA
Accessibility & contrast
On white
9.98
#52259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#52259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52259C
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52259C | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#3C455F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #52259c; /* rgb */ color: rgb(82, 37, 156); /* oklch */ color: oklch(40.2% 0.178 294.0);
Tailwind
colors: {
custom: {
50: '#8a64ba',
500: '#52259c',
950: '#000000',
},
}SCSS
$custom: #52259c; $custom-light: #8a64ba; $custom-dark: #000000;
JSON
{
"hex": "#52259c",
"rgb": {
"r": 82,
"g": 37,
"b": 156
},
"hsl": {
"h": 262.689,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.40175,
"c": 0.17832,
"h": 294
},
"luminance": 0.05517
}Semantic roles & 50–950 ramp
primary
#52259C
secondary
#9ABF5E
accent
#E543A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81