#52467F#52467F
#52467F is a dark, moderate violet. Relative luminance 0.077; OKLCH L 43.3% C 0.092 H 291.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #52467F |
|---|---|
| RGB | rgb(82, 70, 127) |
| HSL | hsl(253, 29%, 39%) |
| HSV | hsv(253, 45%, 50%) |
| CMYK | cmyk(35.4%, 44.9%, 0%, 50.2%) |
| CIE-LAB | lab(33.36, 19.26, -30.56) |
| CIE-LCH | lch(33.36, 36.12, 302.23°) |
| OKLab | oklab(43.32% 0.0343 -0.0859) |
| OKLCH | oklch(43.32% 0.092 291.7) |
| XYZ | xyz(9.4996, 7.7063, 21.0615) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.94
Darkslateblue
#483D8B
ΔE00 5.08
Dusk
#4E5481
ΔE00 6.03
Blueberry
#464196
ΔE00 6.34
Rebeccapurple
#663399
ΔE00 9.30
Royal Purple
#7851A9
ΔE00 10.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52467F #737F46
analogous
#46567F #52467F #6E467F
triadic
#52467F #7F5246 #467F52
tetradic
#52467F #7F4656 #737F46 #467F6E
square
#52467F #7F4656 #737F46 #467F6E
split-complementary
#52467F #7F6E46 #567F46
monochromatic
#1F1B30 #393058 #52467F #6C5DA6 #9084BB
Accessibility & contrast
On white
8.26
#52467F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#52467F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52467F
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52467F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52467F | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344F81
Deuteranopia (green-blind)
#354D7E
Tritanopia (blue-blind)
#47515C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #52467f; /* rgb */ color: rgb(82, 70, 127); /* oklch */ color: oklch(43.3% 0.092 291.7);
Tailwind
colors: {
custom: {
50: '#8579a4',
500: '#52467f',
950: '#000000',
},
}SCSS
$custom: #52467f; $custom-light: #8579a4; $custom-dark: #000000;
JSON
{
"hex": "#52467f",
"rgb": {
"r": 82,
"g": 70,
"b": 127
},
"hsl": {
"h": 252.632,
"s": 28.934,
"l": 38.627
},
"oklch": {
"l": 0.43322,
"c": 0.09247,
"h": 291.7
},
"luminance": 0.07706
}Semantic roles & 50–950 ramp
primary
#52467F
secondary
#9DA77A
accent
#C563B0
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F