#7C2B79#7C2B79
#7C2B79 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.148 H 329.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2B79 |
|---|---|
| RGB | rgb(124, 43, 121) |
| HSL | hsl(302, 49%, 33%) |
| HSV | hsv(302, 65%, 49%) |
| CMYK | cmyk(0%, 65.3%, 2.4%, 51.4%) |
| CIE-LAB | lab(32.69, 45.27, -27.52) |
| CIE-LCH | lch(32.69, 52.97, 328.70°) |
| OKLab | oklab(43.89% 0.1274 -0.0758) |
| OKLCH | oklch(43.89% 0.148 329.3) |
| XYZ | xyz(12.6271, 7.3942, 18.8476) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.42
Purple
#800080
ΔE00 4.92
Darkmagenta
#8B008B
ΔE00 5.36
Warm Purple
#952E8F
ΔE00 5.51
Bruise
#7E4071
ΔE00 6.36
Grape
#6C3461
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2B79 #2B7C2E
analogous
#562B7C #7C2B79 #7C2B51
triadic
#7C2B79 #797C2B #2B797C
tetradic
#7C2B79 #7C562B #2B7C2E #2B517C
square
#7C2B79 #7C562B #2B7C2E #2B517C
split-complementary
#7C2B79 #517C2B #2B7C56
monochromatic
#210B20 #4F1B4D #7C2B79 #A93BA5 #C65BC2
Accessibility & contrast
On white
8.47
#7C2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#7C2B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2B79
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2B79 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#80344E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #7c2b79; /* rgb */ color: rgb(124, 43, 121); /* oklch */ color: oklch(43.9% 0.148 329.3);
Tailwind
colors: {
custom: {
50: '#a56ba0',
500: '#7c2b79',
950: '#000000',
},
}SCSS
$custom: #7c2b79; $custom-light: #a56ba0; $custom-dark: #000000;
JSON
{
"hex": "#7c2b79",
"rgb": {
"r": 124,
"g": 43,
"b": 121
},
"hsl": {
"h": 302.222,
"s": 48.503,
"l": 32.745
},
"oklch": {
"l": 0.43894,
"c": 0.14826,
"h": 329.3
},
"luminance": 0.07393
}Semantic roles & 50–950 ramp
primary
#7C2B79
secondary
#57AC5A
accent
#D85550
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E