#7D1C73#7D1C73
#7D1C73 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.163 H 332.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1C73 |
|---|---|
| RGB | rgb(125, 28, 115) |
| HSL | hsl(306, 63%, 30%) |
| HSV | hsv(306, 78%, 49%) |
| CMYK | cmyk(0%, 77.6%, 8%, 51%) |
| CIE-LAB | lab(30.47, 50.30, -27.21) |
| CIE-LCH | lch(30.47, 57.19, 331.59°) |
| OKLab | oklab(42.22% 0.1449 -0.0747) |
| OKLCH | oklch(42.22% 0.163 332.7) |
| XYZ | xyz(11.9673, 6.4293, 16.8270) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.99
Purple
#800080
ΔE00 3.62
Darkmagenta
#8B008B
ΔE00 4.80
Rich Purple
#720058
ΔE00 5.71
Warm Purple
#952E8F
ΔE00 6.75
Grape
#6C3461
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1C73 #1C7D26
analogous
#571C7D #7D1C73 #7D1C42
triadic
#7D1C73 #737D1C #1C737D
tetradic
#7D1C73 #7D571C #1C7D26 #1C427D
square
#7D1C73 #7D571C #1C7D26 #1C427D
split-complementary
#7D1C73 #427D1C #1C7D57
monochromatic
#190617 #4B1145 #7D1C73 #AF27A1 #D43FC5
Accessibility & contrast
On white
9.19
#7D1C73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7D1C73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1C73
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1C73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1C73 | 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)
#173F75
Deuteranopia (green-blind)
#3D4D71
Tritanopia (blue-blind)
#832746
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7d1c73; /* rgb */ color: rgb(125, 28, 115); /* oklch */ color: oklch(42.2% 0.163 332.7);
Tailwind
colors: {
custom: {
50: '#a6649b',
500: '#7d1c73',
950: '#000000',
},
}SCSS
$custom: #7d1c73; $custom-light: #a6649b; $custom-dark: #000000;
JSON
{
"hex": "#7d1c73",
"rgb": {
"r": 125,
"g": 28,
"b": 115
},
"hsl": {
"h": 306.186,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.42221,
"c": 0.16307,
"h": 332.7
},
"luminance": 0.06428
}Semantic roles & 50–950 ramp
primary
#7D1C73
secondary
#44B14F
accent
#E65241
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E