#7C2D71#7C2D71
#7C2D71 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.7% C 0.138 H 333.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2D71 |
|---|---|
| RGB | rgb(124, 45, 113) |
| HSL | hsl(308, 47%, 33%) |
| HSV | hsv(308, 64%, 49%) |
| CMYK | cmyk(0%, 63.7%, 8.9%, 51.4%) |
| CIE-LAB | lab(32.60, 42.94, -22.61) |
| CIE-LCH | lch(32.60, 48.53, 332.24°) |
| OKLab | oklab(43.7% 0.1239 -0.0617) |
| OKLCH | oklch(43.7% 0.138 333.5) |
| XYZ | xyz(12.2312, 7.3550, 16.3950) |
| Luminance | 0.0735 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.44
Grape
#6C3461
ΔE00 4.93
Bruise
#7E4071
ΔE00 4.97
Purple
#800080
ΔE00 6.41
Warm Purple
#952E8F
ΔE00 6.45
Light Eggplant
#894585
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2D71 #2D7C38
analogous
#5F2D7C #7C2D71 #7C2D49
triadic
#7C2D71 #717C2D #2D717C
tetradic
#7C2D71 #7C5F2D #2D7C38 #2D497C
square
#7C2D71 #7C5F2D #2D7C38 #2D497C
split-complementary
#7C2D71 #497C2D #2D7C5F
monochromatic
#220C1F #4F1D48 #7C2D71 #A93D9A #C55FB7
Accessibility & contrast
On white
8.50
#7C2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#7C2D71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2D71
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2D71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2D71 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#45516F
Tritanopia (blue-blind)
#82334A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7c2d71; /* rgb */ color: rgb(124, 45, 113); /* oklch */ color: oklch(43.7% 0.138 333.5);
Tailwind
colors: {
custom: {
50: '#a46c9a',
500: '#7c2d71',
950: '#000000',
},
}SCSS
$custom: #7c2d71; $custom-light: #a46c9a; $custom-dark: #000000;
JSON
{
"hex": "#7c2d71",
"rgb": {
"r": 124,
"g": 45,
"b": 113
},
"hsl": {
"h": 308.354,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.43696,
"c": 0.13839,
"h": 333.5
},
"luminance": 0.07354
}Semantic roles & 50–950 ramp
primary
#7C2D71
secondary
#5AAB65
accent
#D66451
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E