#7A1C71#7A1C71
#7A1C71 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.160 H 332.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1C71 |
|---|---|
| RGB | rgb(122, 28, 113) |
| HSL | hsl(306, 63%, 29%) |
| HSV | hsv(306, 77%, 48%) |
| CMYK | cmyk(0%, 77%, 7.4%, 52.2%) |
| CIE-LAB | lab(29.82, 49.26, -27.00) |
| CIE-LCH | lch(29.82, 56.17, 331.27°) |
| OKLab | oklab(41.61% 0.1416 -0.0742) |
| OKLCH | oklch(41.61% 0.16 332.3) |
| XYZ | xyz(11.4220, 6.1613, 16.2073) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.61
Purple
#800080
ΔE00 3.77
Darkmagenta
#8B008B
ΔE00 5.19
Rich Purple
#720058
ΔE00 5.38
Grape
#6C3461
ΔE00 6.99
Velvet
#750851
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1C71 #1C7A25
analogous
#541C7A #7A1C71 #7A1C42
triadic
#7A1C71 #717A1C #1C717A
tetradic
#7A1C71 #7A541C #1C7A25 #1C427A
square
#7A1C71 #7A541C #1C7A25 #1C427A
split-complementary
#7A1C71 #427A1C #1C7A54
monochromatic
#190617 #481143 #7A1C71 #AC279F #D33EC4
Accessibility & contrast
On white
9.41
#7A1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7A1C71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1C71
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1C71 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#7F2745
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7a1c71; /* rgb */ color: rgb(122, 28, 113); /* oklch */ color: oklch(41.6% 0.160 332.3);
Tailwind
colors: {
custom: {
50: '#a4639a',
500: '#7a1c71',
950: '#000000',
},
}SCSS
$custom: #7a1c71; $custom-light: #a4639a; $custom-dark: #000000;
JSON
{
"hex": "#7a1c71",
"rgb": {
"r": 122,
"g": 28,
"b": 113
},
"hsl": {
"h": 305.745,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.41612,
"c": 0.15986,
"h": 332.3
},
"luminance": 0.0616
}Semantic roles & 50–950 ramp
primary
#7A1C71
secondary
#44AE4E
accent
#E65242
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E