#531FA5#531FA5
#531FA5 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.194 H 293.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #531FA5 |
|---|---|
| RGB | rgb(83, 31, 165) |
| HSL | hsl(263, 68%, 38%) |
| HSV | hsv(263, 81%, 65%) |
| CMYK | cmyk(49.7%, 81.2%, 0%, 35.3%) |
| CIE-LAB | lab(28.21, 51.97, -62.19) |
| CIE-LCH | lch(28.21, 81.05, 309.89°) |
| OKLab | oklab(40.49% 0.0761 -0.1786) |
| OKLCH | oklch(40.49% 0.194 293.1) |
| XYZ | xyz(10.8469, 5.5352, 36.0869) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.85
Violet Blue
#510AC9
ΔE00 4.81
Rebeccapurple
#663399
ΔE00 5.87
Purple Blue
#5D21D0
ΔE00 6.02
Indigo
#4B0082
ΔE00 6.64
Ultramarine
#2000B1
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#531FA5 #71A51F
analogous
#1F2EA5 #531FA5 #961FA5
triadic
#531FA5 #A5531F #1FA553
tetradic
#531FA5 #A51F2E #71A51F #1FA596
square
#531FA5 #A51F2E #71A51F #1FA596
split-complementary
#531FA5 #A5961F #2EA51F
monochromatic
#1F0C3E #391571 #531FA5 #6D2AD7 #915EE1
Accessibility & contrast
On white
9.97
#531FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#531FA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #531FA5
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##531FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##531FA5 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#394663
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #531fa5; /* rgb */ color: rgb(83, 31, 165); /* oklch */ color: oklch(40.5% 0.194 293.1);
Tailwind
colors: {
custom: {
50: '#8c62c1',
500: '#531fa5',
950: '#000000',
},
}SCSS
$custom: #531fa5; $custom-light: #8c62c1; $custom-dark: #000000;
JSON
{
"hex": "#531fa5",
"rgb": {
"r": 83,
"g": 31,
"b": 165
},
"hsl": {
"h": 263.284,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.40493,
"c": 0.1941,
"h": 293.1
},
"luminance": 0.05536
}Semantic roles & 50–950 ramp
primary
#531FA5
secondary
#9CC55B
accent
#EB3DA7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0512
muted
#7E7A81