#7A2A71#7A2A71
#7A2A71 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.142 H 332.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2A71 |
|---|---|
| RGB | rgb(122, 42, 113) |
| HSL | hsl(307, 49%, 32%) |
| HSV | hsv(307, 66%, 48%) |
| CMYK | cmyk(0%, 65.6%, 7.4%, 52.2%) |
| CIE-LAB | lab(31.78, 43.74, -23.92) |
| CIE-LCH | lch(31.78, 49.85, 331.33°) |
| OKLab | oklab(43.03% 0.1255 -0.0655) |
| OKLCH | oklch(43.03% 0.142 332.5) |
| XYZ | xyz(11.8347, 6.9867, 16.3448) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.58
Grape
#6C3461
ΔE00 5.22
Purple
#800080
ΔE00 5.72
Bruise
#7E4071
ΔE00 5.77
Darkmagenta
#8B008B
ΔE00 6.50
Rich Purple
#720058
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2A71 #2A7A33
analogous
#5B2A7A #7A2A71 #7A2A49
triadic
#7A2A71 #717A2A #2A717A
tetradic
#7A2A71 #7A5B2A #2A7A33 #2A497A
square
#7A2A71 #7A5B2A #2A7A33 #2A497A
split-complementary
#7A2A71 #497A2A #2A7A5B
monochromatic
#1F0B1D #4C1A47 #7A2A71 #A83A9B #C659B9
Accessibility & contrast
On white
8.76
#7A2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#7A2A71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2A71
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2A71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2A71 | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274373
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#7F3149
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7a2a71; /* rgb */ color: rgb(122, 42, 113); /* oklch */ color: oklch(43.0% 0.142 332.5);
Tailwind
colors: {
custom: {
50: '#a36a9a',
500: '#7a2a71',
950: '#000000',
},
}SCSS
$custom: #7a2a71; $custom-light: #a36a9a; $custom-dark: #000000;
JSON
{
"hex": "#7a2a71",
"rgb": {
"r": 122,
"g": 42,
"b": 113
},
"hsl": {
"h": 306.75,
"s": 48.78,
"l": 32.157
},
"oklch": {
"l": 0.43029,
"c": 0.14159,
"h": 332.5
},
"luminance": 0.06986
}Semantic roles & 50–950 ramp
primary
#7A2A71
secondary
#55AB5E
accent
#D85F4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E