#7A2A72#7A2A72
#7A2A72 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.142 H 331.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2A72 |
|---|---|
| RGB | rgb(122, 42, 114) |
| HSL | hsl(306, 49%, 32%) |
| HSV | hsv(306, 66%, 48%) |
| CMYK | cmyk(0%, 65.6%, 6.6%, 52.2%) |
| CIE-LAB | lab(31.83, 43.92, -24.47) |
| CIE-LCH | lch(31.83, 50.28, 330.87°) |
| OKLab | oklab(43.08% 0.1257 -0.0671) |
| OKLCH | oklch(43.08% 0.142 331.9) |
| XYZ | xyz(11.8913, 7.0093, 16.6430) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.46
Grape
#6C3461
ΔE00 5.38
Purple
#800080
ΔE00 5.56
Bruise
#7E4071
ΔE00 5.87
Darkmagenta
#8B008B
ΔE00 6.33
Warm Purple
#952E8F
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2A72 #2A7A32
analogous
#5A2A7A #7A2A72 #7A2A4A
triadic
#7A2A72 #727A2A #2A727A
tetradic
#7A2A72 #7A5A2A #2A7A32 #2A4A7A
square
#7A2A72 #7A5A2A #2A7A32 #2A4A7A
split-complementary
#7A2A72 #4A7A2A #2A7A5A
monochromatic
#1F0B1D #4C1A47 #7A2A72 #A83A9D #C659BB
Accessibility & contrast
On white
8.74
#7A2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#7A2A72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2A72
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2A72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2A72 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264474
Deuteranopia (green-blind)
#414F70
Tritanopia (blue-blind)
#7F314A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7a2a72; /* rgb */ color: rgb(122, 42, 114); /* oklch */ color: oklch(43.1% 0.142 331.9);
Tailwind
colors: {
custom: {
50: '#a36a9b',
500: '#7a2a72',
950: '#000000',
},
}SCSS
$custom: #7a2a72; $custom-light: #a36a9b; $custom-dark: #000000;
JSON
{
"hex": "#7a2a72",
"rgb": {
"r": 122,
"g": 42,
"b": 114
},
"hsl": {
"h": 306,
"s": 48.78,
"l": 32.157
},
"oklch": {
"l": 0.43083,
"c": 0.14244,
"h": 331.9
},
"luminance": 0.07008
}Semantic roles & 50–950 ramp
primary
#7A2A72
secondary
#55AB5D
accent
#D85D4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E