#7F2575#7F2575
#7F2575 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.155 H 332.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2575 |
|---|---|
| RGB | rgb(127, 37, 117) |
| HSL | hsl(307, 55%, 32%) |
| HSV | hsv(307, 71%, 50%) |
| CMYK | cmyk(0%, 70.9%, 7.9%, 50.2%) |
| CIE-LAB | lab(32.08, 47.87, -25.92) |
| CIE-LCH | lch(32.08, 54.44, 331.57°) |
| OKLab | oklab(43.48% 0.1378 -0.0711) |
| OKLCH | oklch(43.48% 0.155 332.7) |
| XYZ | xyz(12.6249, 7.1205, 17.5356) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.14
Purple
#800080
ΔE00 4.63
Darkmagenta
#8B008B
ΔE00 5.23
Warm Purple
#952E8F
ΔE00 5.81
Grape
#6C3461
ΔE00 6.56
Bruise
#7E4071
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2575 #257F2F
analogous
#5C257F #7F2575 #7F2548
triadic
#7F2575 #757F25 #25757F
tetradic
#7F2575 #7F5C25 #257F2F #25487F
square
#7F2575 #7F5C25 #257F2F #25487F
split-complementary
#7F2575 #487F25 #257F5C
monochromatic
#20091E #501749 #7F2575 #AE33A1 #CD52BF
Accessibility & contrast
On white
8.66
#7F2575 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#7F2575 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2575
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2575 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2575 | 1.00 | 8.66 | 2.42 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214377
Deuteranopia (green-blind)
#415073
Tritanopia (blue-blind)
#852E4A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7f2575; /* rgb */ color: rgb(127, 37, 117); /* oklch */ color: oklch(43.5% 0.155 332.7);
Tailwind
colors: {
custom: {
50: '#a7689d',
500: '#7f2575',
950: '#000000',
},
}SCSS
$custom: #7f2575; $custom-light: #a7689d; $custom-dark: #000000;
JSON
{
"hex": "#7f2575",
"rgb": {
"r": 127,
"g": 37,
"b": 117
},
"hsl": {
"h": 306.667,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.43483,
"c": 0.15501,
"h": 332.7
},
"luminance": 0.0712
}Semantic roles & 50–950 ramp
primary
#7F2575
secondary
#4FB15A
accent
#DE5A4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E