#7D1C6D#7D1C6D
#7D1C6D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.159 H 335.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1C6D |
|---|---|
| RGB | rgb(125, 28, 109) |
| HSL | hsl(310, 63%, 30%) |
| HSV | hsv(310, 78%, 49%) |
| CMYK | cmyk(0%, 77.6%, 12.8%, 51%) |
| CIE-LAB | lab(30.15, 49.34, -23.89) |
| CIE-LCH | lch(30.15, 54.82, 334.17°) |
| OKLab | oklab(41.88% 0.1445 -0.0652) |
| OKLCH | oklch(41.88% 0.159 335.7) |
| XYZ | xyz(11.6332, 6.2957, 15.0675) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.96
Rich Purple
#720058
ΔE00 4.76
Purple
#800080
ΔE00 4.82
Darkmagenta
#8B008B
ΔE00 5.98
Velvet
#750851
ΔE00 6.03
Grape
#6C3461
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1C6D #1C7D2C
analogous
#5D1C7D #7D1C6D #7D1C3C
triadic
#7D1C6D #6D7D1C #1C6D7D
tetradic
#7D1C6D #7D5D1C #1C7D2C #1C3C7D
square
#7D1C6D #7D5D1C #1C7D2C #1C3C7D
split-complementary
#7D1C6D #3C7D1C #1C7D5D
monochromatic
#190616 #4B1141 #7D1C6D #AF2799 #D43FBC
Accessibility & contrast
On white
9.30
#7D1C6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7D1C6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1C6D
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1C6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1C6D | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3E6F
Deuteranopia (green-blind)
#3F4C6B
Tritanopia (blue-blind)
#842443
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7d1c6d; /* rgb */ color: rgb(125, 28, 109); /* oklch */ color: oklch(41.9% 0.159 335.7);
Tailwind
colors: {
custom: {
50: '#a66497',
500: '#7d1c6d',
950: '#000000',
},
}SCSS
$custom: #7d1c6d; $custom-light: #a66497; $custom-dark: #000000;
JSON
{
"hex": "#7d1c6d",
"rgb": {
"r": 125,
"g": 28,
"b": 109
},
"hsl": {
"h": 309.897,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.41883,
"c": 0.15855,
"h": 335.7
},
"luminance": 0.06295
}Semantic roles & 50–950 ramp
primary
#7D1C6D
secondary
#44B156
accent
#E65D41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E