#7C1670#7C1670
#7C1670 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.166 H 333.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1670 |
|---|---|
| RGB | rgb(124, 22, 112) |
| HSL | hsl(307, 70%, 29%) |
| HSV | hsv(307, 82%, 49%) |
| CMYK | cmyk(0%, 82.3%, 9.7%, 51.4%) |
| CIE-LAB | lab(29.49, 51.40, -26.86) |
| CIE-LCH | lch(29.49, 58.00, 332.42°) |
| OKLab | oklab(41.43% 0.1491 -0.0737) |
| OKLCH | oklch(41.43% 0.166 333.7) |
| XYZ | xyz(11.5238, 6.0298, 15.8830) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.91
Purple
#800080
ΔE00 3.61
Rich Purple
#720058
ΔE00 4.95
Darkmagenta
#8B008B
ΔE00 5.10
Velvet
#750851
ΔE00 6.69
Grape Purple
#5D1451
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1670 #167C22
analogous
#55167C #7C1670 #7C163D
triadic
#7C1670 #707C16 #16707C
tetradic
#7C1670 #7C5516 #167C22 #163D7C
square
#7C1670 #7C5516 #167C22 #163D7C
split-complementary
#7C1670 #3D7C16 #167C55
monochromatic
#1A0517 #480D41 #7C1670 #B01F9F #DB32C7
Accessibility & contrast
On white
9.52
#7C1670 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7C1670 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1670
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1670 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1670 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123C72
Deuteranopia (green-blind)
#3B4B6E
Tritanopia (blue-blind)
#822143
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7c1670; /* rgb */ color: rgb(124, 22, 112); /* oklch */ color: oklch(41.4% 0.166 333.7);
Tailwind
colors: {
custom: {
50: '#a56199',
500: '#7c1670',
950: '#000000',
},
}SCSS
$custom: #7c1670; $custom-light: #a56199; $custom-dark: #000000;
JSON
{
"hex": "#7c1670",
"rgb": {
"r": 124,
"g": 22,
"b": 112
},
"hsl": {
"h": 307.059,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.41428,
"c": 0.16629,
"h": 333.7
},
"luminance": 0.06029
}Semantic roles & 50–950 ramp
primary
#7C1670
secondary
#3DB14A
accent
#ED503B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E