#532B92#532B92
#532B92 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.160 H 296.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #532B92 |
|---|---|
| RGB | rgb(83, 43, 146) |
| HSL | hsl(263, 54%, 37%) |
| HSV | hsv(263, 71%, 57%) |
| CMYK | cmyk(43.2%, 70.5%, 0%, 42.7%) |
| CIE-LAB | lab(28.49, 41.23, -50.13) |
| CIE-LCH | lch(28.49, 64.91, 309.44°) |
| OKLab | oklab(40.17% 0.0706 -0.1433) |
| OKLCH | oklch(40.17% 0.16 296.2) |
| XYZ | xyz(9.6181, 5.6419, 27.7708) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.96
Darkslateblue
#483D8B
ΔE00 6.13
Indigo Blue
#3A18B1
ΔE00 6.79
Indigo
#4B0082
ΔE00 6.89
Blueberry
#464196
ΔE00 7.22
Indigo (survey)
#380282
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#532B92 #6A922B
analogous
#2B3792 #532B92 #872B92
triadic
#532B92 #92532B #2B9253
tetradic
#532B92 #922B37 #6A922B #2B9287
square
#532B92 #922B37 #6A922B #2B9287
split-complementary
#532B92 #92872B #37922B
monochromatic
#1D0F33 #381D63 #532B92 #6E39C1 #9066D2
Accessibility & contrast
On white
9.87
#532B92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#532B92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #532B92
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##532B92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##532B92 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#43445B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #532b92; /* rgb */ color: rgb(83, 43, 146); /* oklch */ color: oklch(40.2% 0.160 296.2);
Tailwind
colors: {
custom: {
50: '#8968b3',
500: '#532b92',
950: '#000000',
},
}SCSS
$custom: #532b92; $custom-light: #8968b3; $custom-dark: #000000;
JSON
{
"hex": "#532b92",
"rgb": {
"r": 83,
"g": 43,
"b": 146
},
"hsl": {
"h": 263.301,
"s": 54.497,
"l": 37.059
},
"oklch": {
"l": 0.4017,
"c": 0.15971,
"h": 296.2
},
"luminance": 0.05642
}Semantic roles & 50–950 ramp
primary
#532B92
secondary
#96B861
accent
#DE4AA4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80