#792F74#792F74
#792F74 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.7% C 0.136 H 330.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #792F74 |
|---|---|
| RGB | rgb(121, 47, 116) |
| HSL | hsl(304, 44%, 33%) |
| HSV | hsv(304, 61%, 47%) |
| CMYK | cmyk(0%, 61.2%, 4.1%, 52.5%) |
| CIE-LAB | lab(32.61, 41.67, -24.52) |
| CIE-LCH | lch(32.61, 48.35, 329.53°) |
| OKLab | oklab(43.66% 0.118 -0.0673) |
| OKLCH | oklch(43.66% 0.136 330.3) |
| XYZ | xyz(12.0540, 7.3598, 17.3053) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.18
Grape
#6C3461
ΔE00 5.12
Bruise
#7E4071
ΔE00 5.20
Purple
#800080
ΔE00 6.20
Light Eggplant
#894585
ΔE00 6.31
Warm Purple
#952E8F
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792F74 #2F7934
analogous
#592F79 #792F74 #792F4F
triadic
#792F74 #74792F #2F7479
tetradic
#792F74 #79592F #2F7934 #2F4F79
square
#792F74 #79592F #2F7934 #2F4F79
split-complementary
#792F74 #4F792F #2F7959
monochromatic
#210D1F #4D1E4A #792F74 #A5409E #C261BB
Accessibility & contrast
On white
8.50
#792F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#792F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792F74
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792F74 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4676
Deuteranopia (green-blind)
#425072
Tritanopia (blue-blind)
#7D364D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #792f74; /* rgb */ color: rgb(121, 47, 116); /* oklch */ color: oklch(43.7% 0.136 330.3);
Tailwind
colors: {
custom: {
50: '#a26c9c',
500: '#792f74',
950: '#000000',
},
}SCSS
$custom: #792f74; $custom-light: #a26c9c; $custom-dark: #000000;
JSON
{
"hex": "#792f74",
"rgb": {
"r": 121,
"g": 47,
"b": 116
},
"hsl": {
"h": 304.054,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.43656,
"c": 0.13587,
"h": 330.3
},
"luminance": 0.07359
}Semantic roles & 50–950 ramp
primary
#792F74
secondary
#5BA861
accent
#D45D54
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E