#532C98#532C98
#532C98 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.166 H 294.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #532C98 |
|---|---|
| RGB | rgb(83, 44, 152) |
| HSL | hsl(262, 55%, 38%) |
| HSV | hsv(262, 71%, 60%) |
| CMYK | cmyk(45.4%, 71.1%, 0%, 40.4%) |
| CIE-LAB | lab(29.18, 42.36, -52.69) |
| CIE-LCH | lch(29.18, 67.61, 308.80°) |
| OKLab | oklab(40.81% 0.0685 -0.1508) |
| OKLCH | oklch(40.81% 0.166 294.4) |
| XYZ | xyz(10.1339, 5.9071, 30.3059) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.95
Darkslateblue
#483D8B
ΔE00 6.14
Indigo Blue
#3A18B1
ΔE00 6.18
Blueberry
#464196
ΔE00 6.90
Ocean Blue
#4F42B5
ΔE00 7.25
Indigo
#4B0082
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#532C98 #71982C
analogous
#2C3B98 #532C98 #892C98
triadic
#532C98 #98532C #2C9853
tetradic
#532C98 #982C3B #71982C #2C9889
square
#532C98 #982C3B #71982C #2C9889
split-complementary
#532C98 #98892C #3B982C
monochromatic
#1F1139 #391E69 #532C98 #6D3BC6 #916AD4
Accessibility & contrast
On white
9.63
#532C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#532C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #532C98
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##532C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##532C98 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#40475F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #532c98; /* rgb */ color: rgb(83, 44, 152); /* oklch */ color: oklch(40.8% 0.166 294.4);
Tailwind
colors: {
custom: {
50: '#8a68b7',
500: '#532c98',
950: '#000000',
},
}SCSS
$custom: #532c98; $custom-light: #8a68b7; $custom-dark: #000000;
JSON
{
"hex": "#532c98",
"rgb": {
"r": 83,
"g": 44,
"b": 152
},
"hsl": {
"h": 261.667,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.40814,
"c": 0.16562,
"h": 294.4
},
"luminance": 0.05907
}Semantic roles & 50–950 ramp
primary
#532C98
secondary
#9CBB65
accent
#DE49A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80