#7F2C74#7F2C74
#7F2C74 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.144 H 333.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2C74 |
|---|---|
| RGB | rgb(127, 44, 116) |
| HSL | hsl(308, 49%, 34%) |
| HSV | hsv(308, 65%, 50%) |
| CMYK | cmyk(0%, 65.4%, 8.7%, 50.2%) |
| CIE-LAB | lab(33.08, 44.76, -23.71) |
| CIE-LCH | lch(33.08, 50.66, 332.09°) |
| OKLab | oklab(44.19% 0.1291 -0.0648) |
| OKLCH | oklch(44.19% 0.144 333.3) |
| XYZ | xyz(12.8055, 7.5753, 17.3073) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.34
Bruise
#7E4071
ΔE00 5.27
Grape
#6C3461
ΔE00 5.67
Warm Purple
#952E8F
ΔE00 5.75
Purple
#800080
ΔE00 5.98
Light Eggplant
#894585
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2C74 #2C7F37
analogous
#602C7F #7F2C74 #7F2C4A
triadic
#7F2C74 #747F2C #2C747F
tetradic
#7F2C74 #7F602C #2C7F37 #2C4A7F
square
#7F2C74 #7F602C #2C7F37 #2C4A7F
split-complementary
#7F2C74 #4A7F2C #2C7F60
monochromatic
#240D21 #521C4A #7F2C74 #AC3C9E #C75EB9
Accessibility & contrast
On white
8.35
#7F2C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#7F2C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2C74
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2C74 | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4676
Deuteranopia (green-blind)
#455272
Tritanopia (blue-blind)
#85334C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #7f2c74; /* rgb */ color: rgb(127, 44, 116); /* oklch */ color: oklch(44.2% 0.144 333.3);
Tailwind
colors: {
custom: {
50: '#a76b9c',
500: '#7f2c74',
950: '#000000',
},
}SCSS
$custom: #7f2c74; $custom-light: #a76b9c; $custom-dark: #000000;
JSON
{
"hex": "#7f2c74",
"rgb": {
"r": 127,
"g": 44,
"b": 116
},
"hsl": {
"h": 307.952,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.44194,
"c": 0.14443,
"h": 333.3
},
"luminance": 0.07574
}Semantic roles & 50–950 ramp
primary
#7F2C74
secondary
#59AD65
accent
#D86250
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E