#7C2E72#7C2E72
#7C2E72 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 43.9% C 0.138 H 333.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2E72 |
|---|---|
| RGB | rgb(124, 46, 114) |
| HSL | hsl(308, 46%, 33%) |
| HSV | hsv(308, 63%, 49%) |
| CMYK | cmyk(0%, 62.9%, 8.1%, 51.4%) |
| CIE-LAB | lab(32.82, 42.65, -22.90) |
| CIE-LCH | lch(32.82, 48.41, 331.77°) |
| OKLab | oklab(43.87% 0.1227 -0.0625) |
| OKLCH | oklch(43.87% 0.138 333) |
| XYZ | xyz(12.3265, 7.4549, 16.7060) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.51
Bruise
#7E4071
ΔE00 4.86
Grape
#6C3461
ΔE00 4.98
Light Eggplant
#894585
ΔE00 6.28
Warm Purple
#952E8F
ΔE00 6.31
Purple
#800080
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2E72 #2E7C38
analogous
#5F2E7C #7C2E72 #7C2E4B
triadic
#7C2E72 #727C2E #2E727C
tetradic
#7C2E72 #7C5F2E #2E7C38 #2E4B7C
square
#7C2E72 #7C5F2E #2E7C38 #2E4B7C
split-complementary
#7C2E72 #4B7C2E #2E7C5F
monochromatic
#230D20 #4F1D49 #7C2E72 #A93F9B #C460B7
Accessibility & contrast
On white
8.43
#7C2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#7C2E72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2E72
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2E72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2E72 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4674
Deuteranopia (green-blind)
#455170
Tritanopia (blue-blind)
#81344B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7c2e72; /* rgb */ color: rgb(124, 46, 114); /* oklch */ color: oklch(43.9% 0.138 333.0);
Tailwind
colors: {
custom: {
50: '#a46c9b',
500: '#7c2e72',
950: '#000000',
},
}SCSS
$custom: #7c2e72; $custom-light: #a46c9b; $custom-dark: #000000;
JSON
{
"hex": "#7c2e72",
"rgb": {
"r": 124,
"g": 46,
"b": 114
},
"hsl": {
"h": 307.692,
"s": 45.882,
"l": 33.333
},
"oklch": {
"l": 0.43873,
"c": 0.1377,
"h": 333
},
"luminance": 0.07454
}Semantic roles & 50–950 ramp
primary
#7C2E72
secondary
#5BAB65
accent
#D66352
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E