#792973#792973
#792973 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.144 H 330.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #792973 |
|---|---|
| RGB | rgb(121, 41, 115) |
| HSL | hsl(305, 49%, 32%) |
| HSV | hsv(305, 66%, 47%) |
| CMYK | cmyk(0%, 66.1%, 5%, 52.5%) |
| CIE-LAB | lab(31.55, 44.26, -25.55) |
| CIE-LCH | lch(31.55, 51.11, 330.01°) |
| OKLab | oklab(42.87% 0.1259 -0.0702) |
| OKLCH | oklch(42.87% 0.144 330.9) |
| XYZ | xyz(11.7726, 6.8895, 16.9261) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.04
Purple
#800080
ΔE00 5.18
Grape
#6C3461
ΔE00 5.68
Darkmagenta
#8B008B
ΔE00 6.03
Bruise
#7E4071
ΔE00 6.28
Warm Purple
#952E8F
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792973 #29792F
analogous
#572979 #792973 #79294B
triadic
#792973 #737929 #297379
tetradic
#792973 #795729 #29792F #294B79
square
#792973 #795729 #29792F #294B79
split-complementary
#792973 #4B7929 #297957
monochromatic
#1E0A1C #4B1A48 #792973 #A7389E #C656BE
Accessibility & contrast
On white
8.83
#792973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#792973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792973
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792973 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244375
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#7E314A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #792973; /* rgb */ color: rgb(121, 41, 115); /* oklch */ color: oklch(42.9% 0.144 330.9);
Tailwind
colors: {
custom: {
50: '#a2699b',
500: '#792973',
950: '#000000',
},
}SCSS
$custom: #792973; $custom-light: #a2699b; $custom-dark: #000000;
JSON
{
"hex": "#792973",
"rgb": {
"r": 121,
"g": 41,
"b": 115
},
"hsl": {
"h": 304.5,
"s": 49.383,
"l": 31.765
},
"oklch": {
"l": 0.42868,
"c": 0.14412,
"h": 330.9
},
"luminance": 0.06889
}Semantic roles & 50–950 ramp
primary
#792973
secondary
#53AB5A
accent
#D9594F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E