#7C1D72#7C1D72
#7C1D72 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.161 H 332.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1D72 |
|---|---|
| RGB | rgb(124, 29, 114) |
| HSL | hsl(306, 62%, 30%) |
| HSV | hsv(306, 77%, 49%) |
| CMYK | cmyk(0%, 76.6%, 8.1%, 51.4%) |
| CIE-LAB | lab(30.35, 49.56, -26.77) |
| CIE-LCH | lch(30.35, 56.33, 331.63°) |
| OKLab | oklab(42.08% 0.1428 -0.0735) |
| OKLCH | oklch(42.08% 0.161 332.8) |
| XYZ | xyz(11.7889, 6.3797, 16.5268) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.97
Purple
#800080
ΔE00 3.82
Darkmagenta
#8B008B
ΔE00 5.05
Rich Purple
#720058
ΔE00 5.59
Warm Purple
#952E8F
ΔE00 6.90
Grape
#6C3461
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1D72 #1D7C27
analogous
#571D7C #7C1D72 #7C1D42
triadic
#7C1D72 #727C1D #1D727C
tetradic
#7C1D72 #7C571D #1D7C27 #1D427C
square
#7C1D72 #7C571D #1D7C27 #1D427C
split-complementary
#7C1D72 #427C1D #1D7C57
monochromatic
#190617 #4A1144 #7C1D72 #AE29A0 #D341C3
Accessibility & contrast
On white
9.23
#7C1D72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7C1D72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1D72
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1D72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1D72 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183F74
Deuteranopia (green-blind)
#3D4C70
Tritanopia (blue-blind)
#822746
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7c1d72; /* rgb */ color: rgb(124, 29, 114); /* oklch */ color: oklch(42.1% 0.161 332.8);
Tailwind
colors: {
custom: {
50: '#a5649b',
500: '#7c1d72',
950: '#000000',
},
}SCSS
$custom: #7c1d72; $custom-light: #a5649b; $custom-dark: #000000;
JSON
{
"hex": "#7c1d72",
"rgb": {
"r": 124,
"g": 29,
"b": 114
},
"hsl": {
"h": 306.316,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.42083,
"c": 0.16063,
"h": 332.8
},
"luminance": 0.06379
}Semantic roles & 50–950 ramp
primary
#7C1D72
secondary
#45B050
accent
#E55443
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E