#7C2D73#7C2D73
#7C2D73 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.140 H 332.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2D73 |
|---|---|
| RGB | rgb(124, 45, 115) |
| HSL | hsl(307, 47%, 33%) |
| HSV | hsv(307, 64%, 49%) |
| CMYK | cmyk(0%, 63.7%, 7.3%, 51.4%) |
| CIE-LAB | lab(32.70, 43.29, -23.71) |
| CIE-LCH | lch(32.70, 49.36, 331.29°) |
| OKLab | oklab(43.8% 0.1242 -0.0649) |
| OKLCH | oklch(43.8% 0.14 332.4) |
| XYZ | xyz(12.3451, 7.4006, 16.9946) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.19
Bruise
#7E4071
ΔE00 5.19
Grape
#6C3461
ΔE00 5.25
Purple
#800080
ΔE00 6.09
Warm Purple
#952E8F
ΔE00 6.16
Light Eggplant
#894585
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2D73 #2D7C36
analogous
#5D2D7C #7C2D73 #7C2D4B
triadic
#7C2D73 #737C2D #2D737C
tetradic
#7C2D73 #7C5D2D #2D7C36 #2D4B7C
square
#7C2D73 #7C5D2D #2D7C36 #2D4B7C
split-complementary
#7C2D73 #4B7C2D #2D7C5D
monochromatic
#220C20 #4F1D49 #7C2D73 #A93D9D #C55FB9
Accessibility & contrast
On white
8.47
#7C2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#7C2D73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2D73
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2D73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2D73 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#81344B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7c2d73; /* rgb */ color: rgb(124, 45, 115); /* oklch */ color: oklch(43.8% 0.140 332.4);
Tailwind
colors: {
custom: {
50: '#a46c9b',
500: '#7c2d73',
950: '#000000',
},
}SCSS
$custom: #7c2d73; $custom-light: #a46c9b; $custom-dark: #000000;
JSON
{
"hex": "#7c2d73",
"rgb": {
"r": 124,
"g": 45,
"b": 115
},
"hsl": {
"h": 306.835,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.43802,
"c": 0.14009,
"h": 332.4
},
"luminance": 0.074
}Semantic roles & 50–950 ramp
primary
#7C2D73
secondary
#5AAB63
accent
#D66151
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E