#532B95#532B95
#532B95 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.163 H 295.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #532B95 |
|---|---|
| RGB | rgb(83, 43, 149) |
| HSL | hsl(263, 55%, 38%) |
| HSV | hsv(263, 71%, 58%) |
| CMYK | cmyk(44.3%, 71.1%, 0%, 41.6%) |
| CIE-LAB | lab(28.74, 42.06, -51.57) |
| CIE-LCH | lch(28.74, 66.55, 309.20°) |
| OKLab | oklab(40.42% 0.07 -0.1475) |
| OKLCH | oklch(40.42% 0.163 295.4) |
| XYZ | xyz(9.8545, 5.7364, 29.0160) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.97
Darkslateblue
#483D8B
ΔE00 6.22
Indigo Blue
#3A18B1
ΔE00 6.41
Indigo
#4B0082
ΔE00 7.03
Blueberry
#464196
ΔE00 7.15
Ocean Blue
#4F42B5
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#532B95 #6D952B
analogous
#2B3895 #532B95 #882B95
triadic
#532B95 #95532B #2B9553
tetradic
#532B95 #952B38 #6D952B #2B9588
square
#532B95 #952B38 #6D952B #2B9588
split-complementary
#532B95 #95882B #38952B
monochromatic
#1E1036 #391D66 #532B95 #6D39C4 #9067D3
Accessibility & contrast
On white
9.78
#532B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#532B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #532B95
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##532B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##532B95 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#41455D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #532b95; /* rgb */ color: rgb(83, 43, 149); /* oklch */ color: oklch(40.4% 0.163 295.4);
Tailwind
colors: {
custom: {
50: '#8968b5',
500: '#532b95',
950: '#000000',
},
}SCSS
$custom: #532b95; $custom-light: #8968b5; $custom-dark: #000000;
JSON
{
"hex": "#532b95",
"rgb": {
"r": 83,
"g": 43,
"b": 149
},
"hsl": {
"h": 262.642,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.40423,
"c": 0.16328,
"h": 295.4
},
"luminance": 0.05737
}Semantic roles & 50–950 ramp
primary
#532B95
secondary
#99BA62
accent
#DF49A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80