#531A9F#531A9F
#531A9F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.192 H 295.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #531A9F |
|---|---|
| RGB | rgb(83, 26, 159) |
| HSL | hsl(266, 72%, 36%) |
| HSV | hsv(266, 84%, 62%) |
| CMYK | cmyk(47.8%, 83.6%, 0%, 37.6%) |
| CIE-LAB | lab(26.96, 52.36, -60.59) |
| CIE-LCH | lch(26.96, 80.08, 310.83°) |
| OKLab | oklab(39.46% 0.0816 -0.1738) |
| OKLCH | oklch(39.46% 0.192 295.1) |
| XYZ | xyz(10.1930, 5.0807, 33.2378) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.25
Indigo
#4B0082
ΔE00 5.45
Violet Blue
#510AC9
ΔE00 5.52
Rebeccapurple
#663399
ΔE00 6.16
Indigo (survey)
#380282
ΔE00 6.50
Ultramarine
#2000B1
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#531A9F #669F1A
analogous
#1A249F #531A9F #961A9F
triadic
#531A9F #9F531A #1A9F53
tetradic
#531A9F #9F1A24 #669F1A #1A9F96
square
#531A9F #9F1A24 #669F1A #1A9F96
split-complementary
#531A9F #9F961A #249F1A
monochromatic
#1C0936 #38116A #531A9F #6E23D4 #8F51E3
Accessibility & contrast
On white
10.42
#531A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#531A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #531A9F
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##531A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##531A9F | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#3C425E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #531a9f; /* rgb */ color: rgb(83, 26, 159); /* oklch */ color: oklch(39.5% 0.192 295.1);
Tailwind
colors: {
custom: {
50: '#8c60bd',
500: '#531a9f',
950: '#000000',
},
}SCSS
$custom: #531a9f; $custom-light: #8c60bd; $custom-dark: #000000;
JSON
{
"hex": "#531a9f",
"rgb": {
"r": 83,
"g": 26,
"b": 159
},
"hsl": {
"h": 265.714,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.39456,
"c": 0.19202,
"h": 295.1
},
"luminance": 0.05081
}Semantic roles & 50–950 ramp
primary
#531A9F
secondary
#93C550
accent
#EF39A1
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981