#531FA6#531FA6
#531FA6 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.195 H 292.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #531FA6 |
|---|---|
| RGB | rgb(83, 31, 166) |
| HSL | hsl(263, 69%, 39%) |
| HSV | hsv(263, 81%, 65%) |
| CMYK | cmyk(50%, 81.3%, 0%, 34.9%) |
| CIE-LAB | lab(28.31, 52.23, -62.63) |
| CIE-LCH | lch(28.31, 81.55, 309.83°) |
| OKLab | oklab(40.59% 0.0758 -0.1799) |
| OKLCH | oklch(40.59% 0.195 292.8) |
| XYZ | xyz(10.9383, 5.5718, 36.5681) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.78
Violet Blue
#510AC9
ΔE00 4.68
Purple Blue
#5D21D0
ΔE00 5.88
Rebeccapurple
#663399
ΔE00 5.93
Ultramarine
#2000B1
ΔE00 6.62
Indigo
#4B0082
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#531FA6 #72A61F
analogous
#1F2EA6 #531FA6 #961FA6
triadic
#531FA6 #A6531F #1FA653
tetradic
#531FA6 #A61F2E #72A61F #1FA696
square
#531FA6 #A61F2E #72A61F #1FA696
split-complementary
#531FA6 #A6961F #2EA61F
monochromatic
#1F0C3F #391572 #531FA6 #6D2BD7 #915EE1
Accessibility & contrast
On white
9.93
#531FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#531FA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #531FA6
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##531FA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##531FA6 | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#384763
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #531fa6; /* rgb */ color: rgb(83, 31, 166); /* oklch */ color: oklch(40.6% 0.195 292.8);
Tailwind
colors: {
custom: {
50: '#8d62c2',
500: '#531fa6',
950: '#000000',
},
}SCSS
$custom: #531fa6; $custom-light: #8d62c2; $custom-dark: #000000;
JSON
{
"hex": "#531fa6",
"rgb": {
"r": 83,
"g": 31,
"b": 166
},
"hsl": {
"h": 263.111,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.4059,
"c": 0.19517,
"h": 292.8
},
"luminance": 0.05572
}Semantic roles & 50–950 ramp
primary
#531FA6
secondary
#9DC55B
accent
#EB3CA8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0512
muted
#7E7A81