#7F2C76#7F2C76
#7F2C76 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.146 H 332.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2C76 |
|---|---|
| RGB | rgb(127, 44, 118) |
| HSL | hsl(307, 49%, 34%) |
| HSV | hsv(307, 65%, 50%) |
| CMYK | cmyk(0%, 65.4%, 7.1%, 50.2%) |
| CIE-LAB | lab(33.18, 45.11, -24.82) |
| CIE-LCH | lch(33.18, 51.48, 331.18°) |
| OKLab | oklab(44.3% 0.1293 -0.068) |
| OKLCH | oklch(44.3% 0.146 332.3) |
| XYZ | xyz(12.9231, 7.6224, 17.9266) |
| Luminance | 0.0762 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.15
Warm Purple
#952E8F
ΔE00 5.46
Bruise
#7E4071
ΔE00 5.50
Purple
#800080
ΔE00 5.69
Grape
#6C3461
ΔE00 5.98
Darkmagenta
#8B008B
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2C76 #2C7F35
analogous
#5E2C7F #7F2C76 #7F2C4C
triadic
#7F2C76 #767F2C #2C767F
tetradic
#7F2C76 #7F5E2C #2C7F35 #2C4C7F
square
#7F2C76 #7F5E2C #2C7F35 #2C4C7F
split-complementary
#7F2C76 #4C7F2C #2C7F5E
monochromatic
#240D22 #521C4C #7F2C76 #AC3CA0 #C75EBC
Accessibility & contrast
On white
8.32
#7F2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#7F2C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2C76
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2C76 | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294678
Deuteranopia (green-blind)
#445274
Tritanopia (blue-blind)
#84334D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #7f2c76; /* rgb */ color: rgb(127, 44, 118); /* oklch */ color: oklch(44.3% 0.146 332.3);
Tailwind
colors: {
custom: {
50: '#a76b9e',
500: '#7f2c76',
950: '#000000',
},
}SCSS
$custom: #7f2c76; $custom-light: #a76b9e; $custom-dark: #000000;
JSON
{
"hex": "#7f2c76",
"rgb": {
"r": 127,
"g": 44,
"b": 118
},
"hsl": {
"h": 306.506,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.44301,
"c": 0.1461,
"h": 332.3
},
"luminance": 0.07621
}Semantic roles & 50–950 ramp
primary
#7F2C76
secondary
#59AD63
accent
#D85E50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E