#7E1D6F#7E1D6F
#7E1D6F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.160 H 335.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D6F |
|---|---|
| RGB | rgb(126, 29, 111) |
| HSL | hsl(309, 63%, 30%) |
| HSV | hsv(309, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 11.9%, 50.6%) |
| CIE-LAB | lab(30.55, 49.57, -24.52) |
| CIE-LCH | lch(30.55, 55.30, 333.68°) |
| OKLab | oklab(42.24% 0.1448 -0.067) |
| OKLCH | oklch(42.24% 0.16 335.2) |
| XYZ | xyz(11.9129, 6.4631, 15.6559) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.88
Purple
#800080
ΔE00 4.60
Rich Purple
#720058
ΔE00 5.16
Darkmagenta
#8B008B
ΔE00 5.66
Velvet
#750851
ΔE00 6.42
Grape
#6C3461
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D6F #1D7E2C
analogous
#5C1D7E #7E1D6F #7E1D3F
triadic
#7E1D6F #6F7E1D #1D6F7E
tetradic
#7E1D6F #7E5C1D #1D7E2C #1D3F7E
square
#7E1D6F #7E5C1D #1D7E2C #1D3F7E
split-complementary
#7E1D6F #3F7E1D #1D7E5C
monochromatic
#1B0617 #4C1243 #7E1D6F #B0289B #D342BD
Accessibility & contrast
On white
9.16
#7E1D6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7E1D6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D6F
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D6F | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#842544
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e1d6f; /* rgb */ color: rgb(126, 29, 111); /* oklch */ color: oklch(42.2% 0.160 335.2);
Tailwind
colors: {
custom: {
50: '#a76498',
500: '#7e1d6f',
950: '#000000',
},
}SCSS
$custom: #7e1d6f; $custom-light: #a76498; $custom-dark: #000000;
JSON
{
"hex": "#7e1d6f",
"rgb": {
"r": 126,
"g": 29,
"b": 111
},
"hsl": {
"h": 309.278,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.42244,
"c": 0.15951,
"h": 335.2
},
"luminance": 0.06462
}Semantic roles & 50–950 ramp
primary
#7E1D6F
secondary
#45B156
accent
#E65B42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E