#532C8D#532C8D
#532C8D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.152 H 297.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #532C8D |
|---|---|
| RGB | rgb(83, 44, 141) |
| HSL | hsl(264, 52%, 36%) |
| HSV | hsv(264, 69%, 55%) |
| CMYK | cmyk(41.1%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(28.28, 39.32, -47.38) |
| CIE-LCH | lch(28.28, 61.57, 309.69°) |
| OKLab | oklab(39.9% 0.0703 -0.1352) |
| OKLCH | oklch(39.9% 0.152 297.5) |
| XYZ | xyz(9.2744, 5.5633, 25.7793) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.99
Darkslateblue
#483D8B
ΔE00 5.85
Indigo
#4B0082
ΔE00 6.96
Blueberry
#464196
ΔE00 7.20
Indigo Blue
#3A18B1
ΔE00 7.60
Indigo (survey)
#380282
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#532C8D #668D2C
analogous
#2C368D #532C8D #842C8D
triadic
#532C8D #8D532C #2C8D53
tetradic
#532C8D #8D2C36 #668D2C #2C8D84
square
#532C8D #8D2C36 #668D2C #2C8D84
split-complementary
#532C8D #8D842C #368D2C
monochromatic
#1C0F30 #381D5E #532C8D #6E3BBC #8F65CF
Accessibility & contrast
On white
9.94
#532C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#532C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #532C8D
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##532C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##532C8D | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#454359
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #532c8d; /* rgb */ color: rgb(83, 44, 141); /* oklch */ color: oklch(39.9% 0.152 297.5);
Tailwind
colors: {
custom: {
50: '#8868af',
500: '#532c8d',
950: '#000000',
},
}SCSS
$custom: #532c8d; $custom-light: #8868af; $custom-dark: #000000;
JSON
{
"hex": "#532c8d",
"rgb": {
"r": 83,
"g": 44,
"b": 141
},
"hsl": {
"h": 264.124,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.39895,
"c": 0.15236,
"h": 297.5
},
"luminance": 0.05563
}Semantic roles & 50–950 ramp
primary
#532C8D
secondary
#93B560
accent
#DC4CA2
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F