#52299B#52299B
#52299B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.173 H 293.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #52299B |
|---|---|
| RGB | rgb(82, 41, 155) |
| HSL | hsl(262, 58%, 38%) |
| HSV | hsv(262, 74%, 61%) |
| CMYK | cmyk(47.1%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(28.76, 44.57, -55.21) |
| CIE-LCH | lch(28.76, 70.95, 308.91°) |
| OKLab | oklab(40.57% 0.0693 -0.1582) |
| OKLCH | oklch(40.57% 0.173 293.6) |
| XYZ | xyz(10.1874, 5.7460, 31.5763) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.48
Indigo Blue
#3A18B1
ΔE00 5.39
Darkslateblue
#483D8B
ΔE00 6.82
Violet Blue
#510AC9
ΔE00 6.82
Indigo
#4B0082
ΔE00 7.04
Purple Blue
#5D21D0
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52299B #729B29
analogous
#29399B #52299B #8B299B
triadic
#52299B #9B5229 #299B52
tetradic
#52299B #9B2939 #729B29 #299B8B
square
#52299B #9B2939 #729B29 #299B8B
split-complementary
#52299B #9B8B29 #399B29
monochromatic
#1F0F3A #381C6B #52299B #6C37CA #9067D7
Accessibility & contrast
On white
9.77
#52299B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#52299B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52299B
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52299B | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#3C475F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #52299b; /* rgb */ color: rgb(82, 41, 155); /* oklch */ color: oklch(40.6% 0.173 293.6);
Tailwind
colors: {
custom: {
50: '#8a67b9',
500: '#52299b',
950: '#000000',
},
}SCSS
$custom: #52299b; $custom-light: #8a67b9; $custom-dark: #000000;
JSON
{
"hex": "#52299b",
"rgb": {
"r": 82,
"g": 41,
"b": 155
},
"hsl": {
"h": 261.579,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.40573,
"c": 0.17271,
"h": 293.6
},
"luminance": 0.05746
}Semantic roles & 50–950 ramp
primary
#52299B
secondary
#9DBD63
accent
#E146AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81