#531C9F#531C9F
#531C9F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.190 H 294.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #531C9F |
|---|---|
| RGB | rgb(83, 28, 159) |
| HSL | hsl(265, 70%, 37%) |
| HSV | hsv(265, 82%, 62%) |
| CMYK | cmyk(47.8%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(27.22, 51.61, -60.17) |
| CIE-LCH | lch(27.22, 79.27, 310.62°) |
| OKLab | oklab(39.63% 0.0802 -0.1726) |
| OKLCH | oklch(39.63% 0.19 294.9) |
| XYZ | xyz(10.2388, 5.1724, 33.2531) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.28
Violet Blue
#510AC9
ΔE00 5.56
Indigo
#4B0082
ΔE00 5.64
Rebeccapurple
#663399
ΔE00 5.94
Indigo (survey)
#380282
ΔE00 6.67
Ultramarine
#2000B1
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#531C9F #689F1C
analogous
#1C279F #531C9F #951C9F
triadic
#531C9F #9F531C #1C9F53
tetradic
#531C9F #9F1C27 #689F1C #1C9F95
square
#531C9F #9F1C27 #689F1C #1C9F95
split-complementary
#531C9F #9F951C #279F1C
monochromatic
#1D0A37 #38136B #531C9F #6E25D3 #8F54E1
Accessibility & contrast
On white
10.32
#531C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#531C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #531C9F
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##531C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##531C9F | 1.00 | 10.32 | 2.03 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#3C425F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #531c9f; /* rgb */ color: rgb(83, 28, 159); /* oklch */ color: oklch(39.6% 0.190 294.9);
Tailwind
colors: {
custom: {
50: '#8c60bc',
500: '#531c9f',
950: '#000000',
},
}SCSS
$custom: #531c9f; $custom-light: #8c60bc; $custom-dark: #000000;
JSON
{
"hex": "#531c9f",
"rgb": {
"r": 83,
"g": 28,
"b": 159
},
"hsl": {
"h": 265.191,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.39634,
"c": 0.19035,
"h": 294.9
},
"luminance": 0.05173
}Semantic roles & 50–950 ramp
primary
#531C9F
secondary
#94C453
accent
#ED3BA2
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981