#7A1B72#7A1B72
#7A1B72 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.162 H 331.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1B72 |
|---|---|
| RGB | rgb(122, 27, 114) |
| HSL | hsl(305, 64%, 29%) |
| HSV | hsv(305, 78%, 48%) |
| CMYK | cmyk(0%, 77.9%, 6.6%, 52.2%) |
| CIE-LAB | lab(29.76, 49.75, -27.73) |
| CIE-LCH | lch(29.76, 56.96, 330.86°) |
| OKLab | oklab(41.59% 0.1426 -0.0763) |
| OKLCH | oklch(41.59% 0.162 331.8) |
| XYZ | xyz(11.4553, 6.1373, 16.4976) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.38
Purple
#800080
ΔE00 3.48
Darkmagenta
#8B008B
ΔE00 4.97
Rich Purple
#720058
ΔE00 5.51
Grape
#6C3461
ΔE00 7.24
Warm Purple
#952E8F
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1B72 #1B7A23
analogous
#531B7A #7A1B72 #7A1B43
triadic
#7A1B72 #727A1B #1B727A
tetradic
#7A1B72 #7A531B #1B7A23 #1B437A
square
#7A1B72 #7A531B #1B7A23 #1B437A
split-complementary
#7A1B72 #437A1B #1B7A53
monochromatic
#190617 #481043 #7A1B72 #AC26A1 #D43CC7
Accessibility & contrast
On white
9.43
#7A1B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7A1B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1B72
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1B72 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#133E74
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#7F2645
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7a1b72; /* rgb */ color: rgb(122, 27, 114); /* oklch */ color: oklch(41.6% 0.162 331.8);
Tailwind
colors: {
custom: {
50: '#a4639b',
500: '#7a1b72',
950: '#000000',
},
}SCSS
$custom: #7a1b72; $custom-light: #a4639b; $custom-dark: #000000;
JSON
{
"hex": "#7a1b72",
"rgb": {
"r": 122,
"g": 27,
"b": 114
},
"hsl": {
"h": 305.053,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.41587,
"c": 0.16173,
"h": 331.8
},
"luminance": 0.06136
}Semantic roles & 50–950 ramp
primary
#7A1B72
secondary
#43AE4C
accent
#E74F41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E