#532B99#532B99
#532B99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.168 H 294.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #532B99 |
|---|---|
| RGB | rgb(83, 43, 153) |
| HSL | hsl(262, 56%, 38%) |
| HSV | hsv(262, 72%, 60%) |
| CMYK | cmyk(45.8%, 71.9%, 0%, 40%) |
| CIE-LAB | lab(29.07, 43.17, -53.47) |
| CIE-LCH | lch(29.07, 68.72, 308.91°) |
| OKLab | oklab(40.77% 0.0693 -0.1531) |
| OKLCH | oklch(40.77% 0.168 294.3) |
| XYZ | xyz(10.1794, 5.8664, 30.7268) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.07
Indigo Blue
#3A18B1
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 6.39
Blueberry
#464196
ΔE00 7.11
Indigo
#4B0082
ΔE00 7.27
Ocean Blue
#4F42B5
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#532B99 #71992B
analogous
#2B3A99 #532B99 #8A2B99
triadic
#532B99 #99532B #2B9953
tetradic
#532B99 #992B3A #71992B #2B998A
square
#532B99 #992B3A #71992B #2B998A
split-complementary
#532B99 #998A2B #3A992B
monochromatic
#1F1039 #391E69 #532B99 #6D3AC8 #9169D5
Accessibility & contrast
On white
9.66
#532B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#532B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #532B99
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##532B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##532B99 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#3F475F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #532b99; /* rgb */ color: rgb(83, 43, 153); /* oklch */ color: oklch(40.8% 0.168 294.3);
Tailwind
colors: {
custom: {
50: '#8a68b8',
500: '#532b99',
950: '#000000',
},
}SCSS
$custom: #532b99; $custom-light: #8a68b8; $custom-dark: #000000;
JSON
{
"hex": "#532b99",
"rgb": {
"r": 83,
"g": 43,
"b": 153
},
"hsl": {
"h": 261.818,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.40766,
"c": 0.16804,
"h": 294.3
},
"luminance": 0.05867
}Semantic roles & 50–950 ramp
primary
#532B99
secondary
#9CBC64
accent
#DF48A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80