#7D2F74#7D2F74
#7D2F74 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.3% C 0.139 H 332.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7D2F74 |
|---|---|
| RGB | rgb(125, 47, 116) |
| HSL | hsl(307, 45%, 34%) |
| HSV | hsv(307, 62%, 49%) |
| CMYK | cmyk(0%, 62.4%, 7.2%, 51%) |
| CIE-LAB | lab(33.25, 42.82, -23.47) |
| CIE-LCH | lch(33.25, 48.83, 331.27°) |
| OKLab | oklab(44.25% 0.1228 -0.0642) |
| OKLCH | oklch(44.25% 0.139 332.4) |
| XYZ | xyz(12.6263, 7.6549, 17.3321) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.62
Bruise
#7E4071
ΔE00 4.80
Grape
#6C3461
ΔE00 5.26
Light Eggplant
#894585
ΔE00 5.93
Warm Purple
#952E8F
ΔE00 5.93
Purple
#800080
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D2F74 #2F7D38
analogous
#5F2F7D #7D2F74 #7D2F4D
triadic
#7D2F74 #747D2F #2F747D
tetradic
#7D2F74 #7D5F2F #2F7D38 #2F4D7D
square
#7D2F74 #7D5F2F #2F7D38 #2F4D7D
split-complementary
#7D2F74 #4D7D2F #2F7D5F
monochromatic
#240E21 #511E4B #7D2F74 #A9409D #C462B9
Accessibility & contrast
On white
8.30
#7D2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#7D2F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D2F74
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D2F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D2F74 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4776
Deuteranopia (green-blind)
#455272
Tritanopia (blue-blind)
#82354D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #7d2f74; /* rgb */ color: rgb(125, 47, 116); /* oklch */ color: oklch(44.3% 0.139 332.4);
Tailwind
colors: {
custom: {
50: '#a56d9c',
500: '#7d2f74',
950: '#000000',
},
}SCSS
$custom: #7d2f74; $custom-light: #a56d9c; $custom-dark: #000000;
JSON
{
"hex": "#7d2f74",
"rgb": {
"r": 125,
"g": 47,
"b": 116
},
"hsl": {
"h": 306.923,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.44254,
"c": 0.13853,
"h": 332.4
},
"luminance": 0.07654
}Semantic roles & 50–950 ramp
primary
#7D2F74
secondary
#5DAB66
accent
#D56253
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E