#531EA6#531EA6
#531EA6 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.196 H 293.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #531EA6 |
|---|---|
| RGB | rgb(83, 30, 166) |
| HSL | hsl(263, 69%, 38%) |
| HSV | hsv(263, 82%, 65%) |
| CMYK | cmyk(50%, 81.9%, 0%, 34.9%) |
| CIE-LAB | lab(28.17, 52.63, -62.86) |
| CIE-LCH | lch(28.17, 81.98, 309.94°) |
| OKLab | oklab(40.49% 0.0765 -0.1805) |
| OKLCH | oklch(40.49% 0.196 293) |
| XYZ | xyz(10.9126, 5.5203, 36.5596) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.74
Violet Blue
#510AC9
ΔE00 4.64
Purple Blue
#5D21D0
ΔE00 5.92
Rebeccapurple
#663399
ΔE00 6.03
Ultramarine
#2000B1
ΔE00 6.53
Indigo
#4B0082
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#531EA6 #71A61E
analogous
#1E2DA6 #531EA6 #971EA6
triadic
#531EA6 #A6531E #1EA653
tetradic
#531EA6 #A61E2D #71A61E #1EA697
square
#531EA6 #A61E2D #71A61E #1EA697
split-complementary
#531EA6 #A6971E #2DA61E
monochromatic
#1F0B3E #391572 #531EA6 #6D29D8 #915DE2
Accessibility & contrast
On white
9.98
#531EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#531EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #531EA6
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##531EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##531EA6 | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#384663
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #531ea6; /* rgb */ color: rgb(83, 30, 166); /* oklch */ color: oklch(40.5% 0.196 293.0);
Tailwind
colors: {
custom: {
50: '#8d62c2',
500: '#531ea6',
950: '#000000',
},
}SCSS
$custom: #531ea6; $custom-light: #8d62c2; $custom-dark: #000000;
JSON
{
"hex": "#531ea6",
"rgb": {
"r": 83,
"g": 30,
"b": 166
},
"hsl": {
"h": 263.382,
"s": 69.388,
"l": 38.431
},
"oklch": {
"l": 0.40495,
"c": 0.19603,
"h": 293
},
"luminance": 0.05521
}Semantic roles & 50–950 ramp
primary
#531EA6
secondary
#9CC65A
accent
#EC3CA7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0512
muted
#7E7A81