#792F76#792F76
#792F76 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.138 H 329.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #792F76 |
|---|---|
| RGB | rgb(121, 47, 118) |
| HSL | hsl(302, 44%, 33%) |
| HSV | hsv(302, 61%, 47%) |
| CMYK | cmyk(0%, 61.2%, 2.5%, 52.5%) |
| CIE-LAB | lab(32.72, 42.04, -25.62) |
| CIE-LCH | lch(32.72, 49.23, 328.64°) |
| OKLab | oklab(43.77% 0.1183 -0.0704) |
| OKLCH | oklch(43.77% 0.138 329.2) |
| XYZ | xyz(12.1716, 7.4068, 17.9246) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.04
Bruise
#7E4071
ΔE00 5.49
Grape
#6C3461
ΔE00 5.51
Purple
#800080
ΔE00 5.94
Warm Purple
#952E8F
ΔE00 6.14
Light Eggplant
#894585
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792F76 #2F7932
analogous
#572F79 #792F76 #792F51
triadic
#792F76 #76792F #2F7679
tetradic
#792F76 #79572F #2F7932 #2F5179
square
#792F76 #79572F #2F7932 #2F5179
split-complementary
#792F76 #51792F #2F7957
monochromatic
#210D20 #4D1E4B #792F76 #A540A1 #C261BE
Accessibility & contrast
On white
8.46
#792F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#792F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792F76
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792F76 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294778
Deuteranopia (green-blind)
#415174
Tritanopia (blue-blind)
#7D374E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #792f76; /* rgb */ color: rgb(121, 47, 118); /* oklch */ color: oklch(43.8% 0.138 329.2);
Tailwind
colors: {
custom: {
50: '#a26c9e',
500: '#792f76',
950: '#000000',
},
}SCSS
$custom: #792f76; $custom-light: #a26c9e; $custom-dark: #000000;
JSON
{
"hex": "#792f76",
"rgb": {
"r": 121,
"g": 47,
"b": 118
},
"hsl": {
"h": 302.432,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.43766,
"c": 0.13766,
"h": 329.2
},
"luminance": 0.07406
}Semantic roles & 50–950 ramp
primary
#792F76
secondary
#5BA85E
accent
#D45954
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E