#792B79#792B79
#792B79 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.146 H 327.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #792B79 |
|---|---|
| RGB | rgb(121, 43, 121) |
| HSL | hsl(300, 48%, 32%) |
| HSV | hsv(300, 64%, 47%) |
| CMYK | cmyk(0%, 64.5%, 0%, 52.5%) |
| CIE-LAB | lab(32.20, 44.46, -28.32) |
| CIE-LCH | lch(32.20, 52.71, 327.50°) |
| OKLab | oklab(43.44% 0.1239 -0.0782) |
| OKLCH | oklch(43.44% 0.146 327.7) |
| XYZ | xyz(12.2001, 7.1740, 18.8276) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.15
Purple
#800080
ΔE00 4.83
Darkmagenta
#8B008B
ΔE00 5.45
Warm Purple
#952E8F
ΔE00 5.96
Grape
#6C3461
ΔE00 6.54
Bruise
#7E4071
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792B79 #2B792B
analogous
#522B79 #792B79 #792B52
triadic
#792B79 #79792B #2B7979
tetradic
#792B79 #79522B #2B792B #2B5279
square
#792B79 #79522B #2B792B #2B5279
split-complementary
#792B79 #52792B #2B7952
monochromatic
#1F0B1F #4C1B4C #792B79 #A63BA6 #C45AC4
Accessibility & contrast
On white
8.63
#792B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#792B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792B79
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792B79 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#3E4F77
Tritanopia (blue-blind)
#7D354E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #792b79; /* rgb */ color: rgb(121, 43, 121); /* oklch */ color: oklch(43.4% 0.146 327.7);
Tailwind
colors: {
custom: {
50: '#a26aa0',
500: '#792b79',
950: '#000000',
},
}SCSS
$custom: #792b79; $custom-light: #a26aa0; $custom-dark: #000000;
JSON
{
"hex": "#792b79",
"rgb": {
"r": 121,
"g": 43,
"b": 121
},
"hsl": {
"h": 300,
"s": 47.561,
"l": 32.157
},
"oklch": {
"l": 0.43442,
"c": 0.14647,
"h": 327.7
},
"luminance": 0.07173
}Semantic roles & 50–950 ramp
primary
#792B79
secondary
#56AA56
accent
#D75151
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E