#7C2D72#7C2D72
#7C2D72 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.7% C 0.139 H 333.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2D72 |
|---|---|
| RGB | rgb(124, 45, 114) |
| HSL | hsl(308, 47%, 33%) |
| HSV | hsv(308, 64%, 49%) |
| CMYK | cmyk(0%, 63.7%, 8.1%, 51.4%) |
| CIE-LAB | lab(32.65, 43.12, -23.16) |
| CIE-LCH | lch(32.65, 48.94, 331.76°) |
| OKLab | oklab(43.75% 0.124 -0.0633) |
| OKLCH | oklch(43.75% 0.139 333) |
| XYZ | xyz(12.2879, 7.3777, 16.6932) |
| Luminance | 0.0738 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.31
Bruise
#7E4071
ΔE00 5.07
Grape
#6C3461
ΔE00 5.09
Purple
#800080
ΔE00 6.25
Warm Purple
#952E8F
ΔE00 6.30
Light Eggplant
#894585
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2D72 #2D7C37
analogous
#5E2D7C #7C2D72 #7C2D4A
triadic
#7C2D72 #727C2D #2D727C
tetradic
#7C2D72 #7C5E2D #2D7C37 #2D4A7C
square
#7C2D72 #7C5E2D #2D7C37 #2D4A7C
split-complementary
#7C2D72 #4A7C2D #2D7C5E
monochromatic
#220C1F #4F1D49 #7C2D72 #A93D9B #C55FB8
Accessibility & contrast
On white
8.48
#7C2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#7C2D72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2D72
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2D72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2D72 | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4674
Deuteranopia (green-blind)
#445170
Tritanopia (blue-blind)
#81334B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7c2d72; /* rgb */ color: rgb(124, 45, 114); /* oklch */ color: oklch(43.7% 0.139 333.0);
Tailwind
colors: {
custom: {
50: '#a46c9b',
500: '#7c2d72',
950: '#000000',
},
}SCSS
$custom: #7c2d72; $custom-light: #a46c9b; $custom-dark: #000000;
JSON
{
"hex": "#7c2d72",
"rgb": {
"r": 124,
"g": 45,
"b": 114
},
"hsl": {
"h": 307.595,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.43749,
"c": 0.13924,
"h": 333
},
"luminance": 0.07377
}Semantic roles & 50–950 ramp
primary
#7C2D72
secondary
#5AAB64
accent
#D66251
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E