#52279C#52279C
#52279C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.176 H 293.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #52279C |
|---|---|
| RGB | rgb(82, 39, 156) |
| HSL | hsl(262, 60%, 38%) |
| HSV | hsv(262, 75%, 61%) |
| CMYK | cmyk(47.4%, 75%, 0%, 38.8%) |
| CIE-LAB | lab(28.50, 45.84, -56.25) |
| CIE-LCH | lch(28.50, 72.56, 309.18°) |
| OKLab | oklab(40.41% 0.0709 -0.1613) |
| OKLCH | oklch(40.41% 0.176 293.7) |
| XYZ | xyz(10.2043, 5.6449, 31.9980) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.72
Indigo Blue
#3A18B1
ΔE00 5.07
Violet Blue
#510AC9
ΔE00 6.51
Indigo
#4B0082
ΔE00 6.78
Purple Blue
#5D21D0
ΔE00 7.16
Darkslateblue
#483D8B
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52279C #719C27
analogous
#27379C #52279C #8C279C
triadic
#52279C #9C5227 #279C52
tetradic
#52279C #9C2737 #719C27 #279C8C
square
#52279C #9C2737 #719C27 #279C8C
split-complementary
#52279C #9C8C27 #379C27
monochromatic
#1F0F3A #381B6B #52279C #6C34CC #8F65D8
Accessibility & contrast
On white
9.86
#52279C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#52279C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52279C
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52279C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52279C | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#3C465F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #52279c; /* rgb */ color: rgb(82, 39, 156); /* oklch */ color: oklch(40.4% 0.176 293.7);
Tailwind
colors: {
custom: {
50: '#8a66ba',
500: '#52279c',
950: '#000000',
},
}SCSS
$custom: #52279c; $custom-light: #8a66ba; $custom-dark: #000000;
JSON
{
"hex": "#52279c",
"rgb": {
"r": 82,
"g": 39,
"b": 156
},
"hsl": {
"h": 262.051,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.40413,
"c": 0.17614,
"h": 293.7
},
"luminance": 0.05645
}Semantic roles & 50–950 ramp
primary
#52279C
secondary
#9CBE61
accent
#E345A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81