#531F9C#531F9C
#531F9C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.184 H 295.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #531F9C |
|---|---|
| RGB | rgb(83, 31, 156) |
| HSL | hsl(265, 67%, 37%) |
| HSV | hsv(265, 80%, 61%) |
| CMYK | cmyk(46.8%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(27.35, 49.63, -58.13) |
| CIE-LCH | lch(27.35, 76.43, 310.49°) |
| OKLab | oklab(39.64% 0.079 -0.1667) |
| OKLCH | oklch(39.64% 0.184 295.4) |
| XYZ | xyz(10.0564, 5.2190, 31.9236) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.68
Rebeccapurple
#663399
ΔE00 5.51
Indigo
#4B0082
ΔE00 5.63
Violet Blue
#510AC9
ΔE00 6.07
Indigo (survey)
#380282
ΔE00 6.73
Ultramarine
#2000B1
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#531F9C #689C1F
analogous
#1F2A9C #531F9C #921F9C
triadic
#531F9C #9C531F #1F9C53
tetradic
#531F9C #9C1F2A #689C1F #1F9C92
square
#531F9C #9C1F2A #689C1F #1F9C92
split-complementary
#531F9C #9C921F #2A9C1F
monochromatic
#1D0B36 #381569 #531F9C #6E29CF #8F58DE
Accessibility & contrast
On white
10.27
#531F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#531F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #531F9C
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##531F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##531F9C | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#3E425E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #531f9c; /* rgb */ color: rgb(83, 31, 156); /* oklch */ color: oklch(39.6% 0.184 295.4);
Tailwind
colors: {
custom: {
50: '#8b62ba',
500: '#531f9c',
950: '#000000',
},
}SCSS
$custom: #531f9c; $custom-light: #8b62ba; $custom-dark: #000000;
JSON
{
"hex": "#531f9c",
"rgb": {
"r": 83,
"g": 31,
"b": 156
},
"hsl": {
"h": 264.96,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.39637,
"c": 0.18445,
"h": 295.4
},
"luminance": 0.05219
}Semantic roles & 50–950 ramp
primary
#531F9C
secondary
#94C155
accent
#EA3EA2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81