#A131C2#A131C2
#A131C2 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.222 H 317.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A131C2 |
|---|---|
| RGB | rgb(161, 49, 194) |
| HSL | hsl(286, 60%, 48%) |
| HSV | hsv(286, 75%, 76%) |
| CMYK | cmyk(17%, 74.7%, 0%, 23.9%) |
| CIE-LAB | lab(43.76, 65.05, -53.63) |
| CIE-LCH | lch(43.76, 84.30, 320.50°) |
| OKLab | oklab(54.4% 0.163 -0.1509) |
| OKLCH | oklch(54.4% 0.222 317.2) |
| XYZ | xyz(25.5324, 13.6698, 52.3221) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.37
Purply
#983FB2
ΔE00 3.10
Barney
#AC1DB8
ΔE00 3.15
Vibrant Purple
#AD03DE
ΔE00 4.23
Darkviolet
#9400D3
ΔE00 5.80
Violet (survey)
#9A0EEA
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A131C2 #52C231
analogous
#5931C2 #A131C2 #C2319A
triadic
#A131C2 #C2A131 #31C2A1
tetradic
#A131C2 #C25931 #52C231 #319AC2
square
#A131C2 #C25931 #52C231 #319AC2
split-complementary
#A131C2 #9AC231 #31C259
monochromatic
#501860 #782591 #A131C2 #BA5BD6 #CE8CE2
Accessibility & contrast
On white
5.62
#A131C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#A131C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A131C2
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A131C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A131C2 | 1.00 | 5.62 | 3.73 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#346BBF
Tritanopia (blue-blind)
#9F5078
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a131c2; /* rgb */ color: rgb(161, 49, 194); /* oklch */ color: oklch(54.4% 0.222 317.2);
Tailwind
colors: {
custom: {
50: '#c175d5',
500: '#a131c2',
950: '#000000',
},
}SCSS
$custom: #a131c2; $custom-light: #c175d5; $custom-dark: #000000;
JSON
{
"hex": "#a131c2",
"rgb": {
"r": 161,
"g": 49,
"b": 194
},
"hsl": {
"h": 286.345,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.54401,
"c": 0.22212,
"h": 317.2
},
"luminance": 0.13669
}Semantic roles & 50–950 ramp
primary
#A131C2
secondary
#93CC83
accent
#E34569
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83