#7F2C7A#7F2C7A
#7F2C7A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.149 H 330.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2C7A |
|---|---|
| RGB | rgb(127, 44, 122) |
| HSL | hsl(304, 49%, 34%) |
| HSV | hsv(304, 65%, 50%) |
| CMYK | cmyk(0%, 65.4%, 3.9%, 50.2%) |
| CIE-LAB | lab(33.39, 45.81, -27.00) |
| CIE-LCH | lch(33.39, 53.18, 329.48°) |
| OKLab | oklab(44.52% 0.1298 -0.0742) |
| OKLCH | oklch(44.52% 0.15 330.2) |
| XYZ | xyz(13.1659, 7.7195, 19.2051) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.95
Warm Purple
#952E8F
ΔE00 4.98
Purple
#800080
ΔE00 5.19
Darkmagenta
#8B008B
ΔE00 5.38
Bruise
#7E4071
ΔE00 6.04
Light Eggplant
#894585
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2C7A #2C7F31
analogous
#5A2C7F #7F2C7A #7F2C50
triadic
#7F2C7A #7A7F2C #2C7A7F
tetradic
#7F2C7A #7F5A2C #2C7F31 #2C507F
square
#7F2C7A #7F5A2C #2C7F31 #2C507F
split-complementary
#7F2C7A #507F2C #2C7F5A
monochromatic
#240D23 #521C4E #7F2C7A #AC3CA6 #C75EC1
Accessibility & contrast
On white
8.26
#7F2C7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#7F2C7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2C7A
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2C7A | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#425378
Tritanopia (blue-blind)
#84354F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #7f2c7a; /* rgb */ color: rgb(127, 44, 122); /* oklch */ color: oklch(44.5% 0.149 330.2);
Tailwind
colors: {
custom: {
50: '#a76ca1',
500: '#7f2c7a',
950: '#000000',
},
}SCSS
$custom: #7f2c7a; $custom-light: #a76ca1; $custom-dark: #000000;
JSON
{
"hex": "#7f2c7a",
"rgb": {
"r": 127,
"g": 44,
"b": 122
},
"hsl": {
"h": 303.614,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.4452,
"c": 0.1495,
"h": 330.2
},
"luminance": 0.07719
}Semantic roles & 50–950 ramp
primary
#7F2C7A
secondary
#59AD5E
accent
#D85850
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070F
muted
#7F7A7E