#532B9E#532B9E
#532B9E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.174 H 293.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #532B9E |
|---|---|
| RGB | rgb(83, 43, 158) |
| HSL | hsl(261, 57%, 39%) |
| HSV | hsv(261, 73%, 62%) |
| CMYK | cmyk(47.5%, 72.8%, 0%, 38%) |
| CIE-LAB | lab(29.50, 44.56, -55.82) |
| CIE-LCH | lch(29.50, 71.42, 308.60°) |
| OKLab | oklab(41.2% 0.0682 -0.16) |
| OKLCH | oklch(41.2% 0.174 293.1) |
| XYZ | xyz(10.6010, 6.0350, 32.9474) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.30
Indigo Blue
#3A18B1
ΔE00 5.45
Violet Blue
#510AC9
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 6.67
Ocean Blue
#4F42B5
ΔE00 6.85
Purple Blue
#5D21D0
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#532B9E #769E2B
analogous
#2B3C9E #532B9E #8D2B9E
triadic
#532B9E #9E532B #2B9E53
tetradic
#532B9E #9E2B3C #769E2B #2B9E8D
square
#532B9E #9E2B3C #769E2B #2B9E8D
split-complementary
#532B9E #9E8D2B #3C9E2B
monochromatic
#20113E #3A1E6E #532B9E #6E3CCA #916CD7
Accessibility & contrast
On white
9.52
#532B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#532B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #532B9E
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##532B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##532B9E | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#3C4962
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #532b9e; /* rgb */ color: rgb(83, 43, 158); /* oklch */ color: oklch(41.2% 0.174 293.1);
Tailwind
colors: {
custom: {
50: '#8b68bc',
500: '#532b9e',
950: '#000000',
},
}SCSS
$custom: #532b9e; $custom-light: #8b68bc; $custom-dark: #000000;
JSON
{
"hex": "#532b9e",
"rgb": {
"r": 83,
"g": 43,
"b": 158
},
"hsl": {
"h": 260.87,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.41203,
"c": 0.17394,
"h": 293.1
},
"luminance": 0.06035
}Semantic roles & 50–950 ramp
primary
#532B9E
secondary
#A0BE67
accent
#E047AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81