#792F79#792F79
#792F79 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 43.9% C 0.140 H 327.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #792F79 |
|---|---|
| RGB | rgb(121, 47, 121) |
| HSL | hsl(300, 44%, 33%) |
| HSV | hsv(300, 61%, 47%) |
| CMYK | cmyk(0%, 61.2%, 0%, 52.5%) |
| CIE-LAB | lab(32.87, 42.60, -27.26) |
| CIE-LCH | lch(32.87, 50.58, 327.39°) |
| OKLab | oklab(43.93% 0.1186 -0.0752) |
| OKLCH | oklch(43.93% 0.14 327.6) |
| XYZ | xyz(12.3527, 7.4792, 18.8785) |
| Luminance | 0.0748 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.94
Purple
#800080
ΔE00 5.63
Warm Purple
#952E8F
ΔE00 5.86
Bruise
#7E4071
ΔE00 5.96
Darkmagenta
#8B008B
ΔE00 6.08
Grape
#6C3461
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792F79 #2F792F
analogous
#542F79 #792F79 #792F54
triadic
#792F79 #79792F #2F7979
tetradic
#792F79 #79542F #2F792F #2F5479
square
#792F79 #79542F #2F792F #2F5479
split-complementary
#792F79 #54792F #2F7954
monochromatic
#210D21 #4D1E4D #792F79 #A540A5 #C261C2
Accessibility & contrast
On white
8.41
#792F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#792F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792F79
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792F79 | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27477B
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#7D384F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #792f79; /* rgb */ color: rgb(121, 47, 121); /* oklch */ color: oklch(43.9% 0.140 327.6);
Tailwind
colors: {
custom: {
50: '#a26da0',
500: '#792f79',
950: '#000000',
},
}SCSS
$custom: #792f79; $custom-light: #a26da0; $custom-dark: #000000;
JSON
{
"hex": "#792f79",
"rgb": {
"r": 121,
"g": 47,
"b": 121
},
"hsl": {
"h": 300,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.43933,
"c": 0.14042,
"h": 327.6
},
"luminance": 0.07478
}Semantic roles & 50–950 ramp
primary
#792F79
secondary
#5BA85B
accent
#D45454
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E