#7C1E72#7C1E72
#7C1E72 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.160 H 332.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1E72 |
|---|---|
| RGB | rgb(124, 30, 114) |
| HSL | hsl(306, 61%, 30%) |
| HSV | hsv(306, 76%, 49%) |
| CMYK | cmyk(0%, 75.8%, 8.1%, 51.4%) |
| CIE-LAB | lab(30.47, 49.22, -26.58) |
| CIE-LCH | lch(30.47, 55.94, 331.63°) |
| OKLab | oklab(42.17% 0.1418 -0.073) |
| OKLCH | oklch(42.17% 0.16 332.8) |
| XYZ | xyz(11.8138, 6.4295, 16.5351) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.06
Purple
#800080
ΔE00 3.93
Darkmagenta
#8B008B
ΔE00 5.11
Rich Purple
#720058
ΔE00 5.64
Warm Purple
#952E8F
ΔE00 6.84
Grape
#6C3461
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1E72 #1E7C28
analogous
#571E7C #7C1E72 #7C1E43
triadic
#7C1E72 #727C1E #1E727C
tetradic
#7C1E72 #7C571E #1E7C28 #1E437C
square
#7C1E72 #7C571E #1E7C28 #1E437C
split-complementary
#7C1E72 #437C1E #1E7C57
monochromatic
#190617 #4B1245 #7C1E72 #AD2A9F #D143C2
Accessibility & contrast
On white
9.19
#7C1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7C1E72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1E72
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1E72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1E72 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193F74
Deuteranopia (green-blind)
#3D4C70
Tritanopia (blue-blind)
#822846
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7c1e72; /* rgb */ color: rgb(124, 30, 114); /* oklch */ color: oklch(42.2% 0.160 332.8);
Tailwind
colors: {
custom: {
50: '#a5649b',
500: '#7c1e72',
950: '#000000',
},
}SCSS
$custom: #7c1e72; $custom-light: #a5649b; $custom-dark: #000000;
JSON
{
"hex": "#7c1e72",
"rgb": {
"r": 124,
"g": 30,
"b": 114
},
"hsl": {
"h": 306.383,
"s": 61.039,
"l": 30.196
},
"oklch": {
"l": 0.42169,
"c": 0.1595,
"h": 332.8
},
"luminance": 0.06429
}Semantic roles & 50–950 ramp
primary
#7C1E72
secondary
#46AF52
accent
#E45544
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E