#7A2B71#7A2B71
#7A2B71 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.1% C 0.140 H 332.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2B71 |
|---|---|
| RGB | rgb(122, 43, 113) |
| HSL | hsl(307, 48%, 32%) |
| HSV | hsv(307, 65%, 48%) |
| CMYK | cmyk(0%, 64.8%, 7.4%, 52.2%) |
| CIE-LAB | lab(31.94, 43.29, -23.66) |
| CIE-LCH | lch(31.94, 49.34, 331.34°) |
| OKLab | oklab(43.15% 0.1242 -0.0648) |
| OKLCH | oklch(43.15% 0.14 332.5) |
| XYZ | xyz(11.8706, 7.0585, 16.3568) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.78
Grape
#6C3461
ΔE00 5.09
Bruise
#7E4071
ΔE00 5.57
Purple
#800080
ΔE00 5.90
Darkmagenta
#8B008B
ΔE00 6.64
Warm Purple
#952E8F
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2B71 #2B7A34
analogous
#5B2B7A #7A2B71 #7A2B4A
triadic
#7A2B71 #717A2B #2B717A
tetradic
#7A2B71 #7A5B2B #2B7A34 #2B4A7A
square
#7A2B71 #7A5B2B #2B7A34 #2B4A7A
split-complementary
#7A2B71 #4A7A2B #2B7A5B
monochromatic
#1F0B1D #4D1B47 #7A2B71 #A73B9B #C55AB9
Accessibility & contrast
On white
8.71
#7A2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#7A2B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2B71
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2B71 | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#7F324A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7a2b71; /* rgb */ color: rgb(122, 43, 113); /* oklch */ color: oklch(43.1% 0.140 332.5);
Tailwind
colors: {
custom: {
50: '#a36a9a',
500: '#7a2b71',
950: '#000000',
},
}SCSS
$custom: #7a2b71; $custom-light: #a36a9a; $custom-dark: #000000;
JSON
{
"hex": "#7a2b71",
"rgb": {
"r": 122,
"g": 43,
"b": 113
},
"hsl": {
"h": 306.835,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.43148,
"c": 0.1401,
"h": 332.5
},
"luminance": 0.07058
}Semantic roles & 50–950 ramp
primary
#7A2B71
secondary
#56AB60
accent
#D76050
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E