#532C95#532C95
#532C95 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.162 H 295.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #532C95 |
|---|---|
| RGB | rgb(83, 44, 149) |
| HSL | hsl(262, 54%, 38%) |
| HSV | hsv(262, 70%, 58%) |
| CMYK | cmyk(44.3%, 70.5%, 0%, 41.6%) |
| CIE-LAB | lab(28.93, 41.53, -51.26) |
| CIE-LCH | lch(28.93, 65.97, 309.01°) |
| OKLab | oklab(40.56% 0.069 -0.1466) |
| OKLCH | oklch(40.56% 0.162 295.2) |
| XYZ | xyz(9.8913, 5.8100, 29.0282) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.89
Darkslateblue
#483D8B
ΔE00 6.01
Indigo Blue
#3A18B1
ΔE00 6.53
Blueberry
#464196
ΔE00 6.94
Indigo
#4B0082
ΔE00 7.24
Ocean Blue
#4F42B5
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#532C95 #6E952C
analogous
#2C3995 #532C95 #872C95
triadic
#532C95 #95532C #2C9553
tetradic
#532C95 #952C39 #6E952C #2C9587
square
#532C95 #952C39 #6E952C #2C9587
split-complementary
#532C95 #95872C #39952C
monochromatic
#1E1037 #391E66 #532C95 #6D3AC4 #9069D3
Accessibility & contrast
On white
9.71
#532C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#532C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #532C95
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##532C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##532C95 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#41465D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #532c95; /* rgb */ color: rgb(83, 44, 149); /* oklch */ color: oklch(40.6% 0.162 295.2);
Tailwind
colors: {
custom: {
50: '#8968b5',
500: '#532c95',
950: '#000000',
},
}SCSS
$custom: #532c95; $custom-light: #8968b5; $custom-dark: #000000;
JSON
{
"hex": "#532c95",
"rgb": {
"r": 83,
"g": 44,
"b": 149
},
"hsl": {
"h": 262.286,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.40559,
"c": 0.16203,
"h": 295.2
},
"luminance": 0.0581
}Semantic roles & 50–950 ramp
primary
#532C95
secondary
#99B964
accent
#DE4AA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80