#792F71#792F71
#792F71 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.5% C 0.133 H 332.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #792F71 |
|---|---|
| RGB | rgb(121, 47, 113) |
| HSL | hsl(306, 44%, 33%) |
| HSV | hsv(306, 61%, 47%) |
| CMYK | cmyk(0%, 61.2%, 6.6%, 52.5%) |
| CIE-LAB | lab(32.46, 41.13, -22.86) |
| CIE-LCH | lch(32.46, 47.05, 330.93°) |
| OKLab | oklab(43.5% 0.1176 -0.0625) |
| OKLCH | oklch(43.5% 0.133 332) |
| XYZ | xyz(11.8823, 7.2911, 16.4011) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.49
Grape
#6C3461
ΔE00 4.55
Bruise
#7E4071
ΔE00 4.82
Light Eggplant
#894585
ΔE00 6.43
Purple
#800080
ΔE00 6.63
Warm Purple
#952E8F
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792F71 #2F7937
analogous
#5C2F79 #792F71 #792F4C
triadic
#792F71 #71792F #2F7179
tetradic
#792F71 #795C2F #2F7937 #2F4C79
square
#792F71 #795C2F #2F7937 #2F4C79
split-complementary
#792F71 #4C792F #2F795C
monochromatic
#210D1F #4D1E48 #792F71 #A5409A #C261B7
Accessibility & contrast
On white
8.54
#792F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#792F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792F71
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792F71 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#44506F
Tritanopia (blue-blind)
#7E354B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #792f71; /* rgb */ color: rgb(121, 47, 113); /* oklch */ color: oklch(43.5% 0.133 332.0);
Tailwind
colors: {
custom: {
50: '#a26c9a',
500: '#792f71',
950: '#000000',
},
}SCSS
$custom: #792f71; $custom-light: #a26c9a; $custom-dark: #000000;
JSON
{
"hex": "#792f71",
"rgb": {
"r": 121,
"g": 47,
"b": 113
},
"hsl": {
"h": 306.486,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.43496,
"c": 0.1332,
"h": 332
},
"luminance": 0.0729
}Semantic roles & 50–950 ramp
primary
#792F71
secondary
#5BA864
accent
#D46254
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E