#7F2C75#7F2C75
#7F2C75 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.145 H 332.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2C75 |
|---|---|
| RGB | rgb(127, 44, 117) |
| HSL | hsl(307, 49%, 34%) |
| HSV | hsv(307, 65%, 50%) |
| CMYK | cmyk(0%, 65.4%, 7.9%, 50.2%) |
| CIE-LAB | lab(33.13, 44.93, -24.27) |
| CIE-LCH | lch(33.13, 51.07, 331.63°) |
| OKLab | oklab(44.25% 0.1292 -0.0664) |
| OKLCH | oklch(44.25% 0.145 332.8) |
| XYZ | xyz(12.8640, 7.5987, 17.6153) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.24
Bruise
#7E4071
ΔE00 5.38
Warm Purple
#952E8F
ΔE00 5.60
Grape
#6C3461
ΔE00 5.82
Purple
#800080
ΔE00 5.83
Darkmagenta
#8B008B
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2C75 #2C7F36
analogous
#5F2C7F #7F2C75 #7F2C4B
triadic
#7F2C75 #757F2C #2C757F
tetradic
#7F2C75 #7F5F2C #2C7F36 #2C4B7F
square
#7F2C75 #7F5F2C #2C7F36 #2C4B7F
split-complementary
#7F2C75 #4B7F2C #2C7F5F
monochromatic
#240D21 #521C4B #7F2C75 #AC3C9F #C75EBB
Accessibility & contrast
On white
8.33
#7F2C75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#7F2C75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2C75
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2C75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2C75 | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294677
Deuteranopia (green-blind)
#455273
Tritanopia (blue-blind)
#85334C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #7f2c75; /* rgb */ color: rgb(127, 44, 117); /* oklch */ color: oklch(44.2% 0.145 332.8);
Tailwind
colors: {
custom: {
50: '#a76b9d',
500: '#7f2c75',
950: '#000000',
},
}SCSS
$custom: #7f2c75; $custom-light: #a76b9d; $custom-dark: #000000;
JSON
{
"hex": "#7f2c75",
"rgb": {
"r": 127,
"g": 44,
"b": 117
},
"hsl": {
"h": 307.229,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.44247,
"c": 0.14526,
"h": 332.8
},
"luminance": 0.07598
}Semantic roles & 50–950 ramp
primary
#7F2C75
secondary
#59AD64
accent
#D86050
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E