#792B7A#792B7A
#792B7A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.147 H 327.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #792B7A |
|---|---|
| RGB | rgb(121, 43, 122) |
| HSL | hsl(299, 48%, 32%) |
| HSV | hsv(299, 65%, 48%) |
| CMYK | cmyk(0.8%, 64.8%, 0%, 52.2%) |
| CIE-LAB | lab(32.25, 44.65, -28.86) |
| CIE-LCH | lch(32.25, 53.16, 327.12°) |
| OKLab | oklab(43.5% 0.1239 -0.0798) |
| OKLCH | oklch(43.5% 0.147 327.2) |
| XYZ | xyz(12.2617, 7.1986, 19.1522) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.17
Purple
#800080
ΔE00 4.74
Darkmagenta
#8B008B
ΔE00 5.33
Warm Purple
#952E8F
ΔE00 5.89
Grape
#6C3461
ΔE00 6.73
Purple (survey)
#7E1E9C
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792B7A #2C7A2B
analogous
#522B7A #792B7A #7A2B53
triadic
#792B7A #7A792B #2B7A79
tetradic
#792B7A #7A522B #2C7A2B #2B537A
square
#792B7A #7A522B #2C7A2B #2B537A
split-complementary
#792B7A #537A2B #2B7A52
monochromatic
#1F0B1F #4C1B4D #792B7A #A63BA7 #C45AC5
Accessibility & contrast
On white
8.61
#792B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#792B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792B7A
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792B7A | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20457C
Deuteranopia (green-blind)
#3D4F78
Tritanopia (blue-blind)
#7D354E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #792b7a; /* rgb */ color: rgb(121, 43, 122); /* oklch */ color: oklch(43.5% 0.147 327.2);
Tailwind
colors: {
custom: {
50: '#a26aa1',
500: '#792b7a',
950: '#000000',
},
}SCSS
$custom: #792b7a; $custom-light: #a26aa1; $custom-dark: #000000;
JSON
{
"hex": "#792b7a",
"rgb": {
"r": 121,
"g": 43,
"b": 122
},
"hsl": {
"h": 299.241,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.435,
"c": 0.14737,
"h": 327.2
},
"luminance": 0.07198
}Semantic roles & 50–950 ramp
primary
#792B7A
secondary
#57AB56
accent
#D75052
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E