#7C1B6F#7C1B6F
#7C1B6F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.161 H 334.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1B6F |
|---|---|
| RGB | rgb(124, 27, 111) |
| HSL | hsl(308, 64%, 30%) |
| HSV | hsv(308, 78%, 49%) |
| CMYK | cmyk(0%, 78.2%, 10.5%, 51.4%) |
| CIE-LAB | lab(29.96, 49.74, -25.48) |
| CIE-LCH | lch(29.96, 55.89, 332.88°) |
| OKLab | oklab(41.75% 0.1446 -0.0698) |
| OKLCH | oklch(41.75% 0.161 334.2) |
| XYZ | xyz(11.5735, 6.2177, 15.6264) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.31
Purple
#800080
ΔE00 4.21
Rich Purple
#720058
ΔE00 4.98
Darkmagenta
#8B008B
ΔE00 5.50
Velvet
#750851
ΔE00 6.49
Grape
#6C3461
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1B6F #1B7C28
analogous
#591B7C #7C1B6F #7C1B3F
triadic
#7C1B6F #6F7C1B #1B6F7C
tetradic
#7C1B6F #7C591B #1B7C28 #1B3F7C
square
#7C1B6F #7C591B #1B7C28 #1B3F7C
split-complementary
#7C1B6F #3F7C1B #1B7C59
monochromatic
#190516 #4A1042 #7C1B6F #AE269C #D53DC0
Accessibility & contrast
On white
9.36
#7C1B6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7C1B6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1B6F
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1B6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1B6F | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#3D4C6D
Tritanopia (blue-blind)
#822443
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7c1b6f; /* rgb */ color: rgb(124, 27, 111); /* oklch */ color: oklch(41.7% 0.161 334.2);
Tailwind
colors: {
custom: {
50: '#a56398',
500: '#7c1b6f',
950: '#000000',
},
}SCSS
$custom: #7c1b6f; $custom-light: #a56398; $custom-dark: #000000;
JSON
{
"hex": "#7c1b6f",
"rgb": {
"r": 124,
"g": 27,
"b": 111
},
"hsl": {
"h": 308.041,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.41745,
"c": 0.16054,
"h": 334.2
},
"luminance": 0.06217
}Semantic roles & 50–950 ramp
primary
#7C1B6F
secondary
#43B051
accent
#E75741
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E