#792F6D#792F6D
#792F6D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.3% C 0.130 H 334.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #792F6D |
|---|---|
| RGB | rgb(121, 47, 109) |
| HSL | hsl(310, 44%, 33%) |
| HSV | hsv(310, 61%, 47%) |
| CMYK | cmyk(0%, 61.2%, 9.9%, 52.5%) |
| CIE-LAB | lab(32.26, 40.42, -20.63) |
| CIE-LCH | lch(32.26, 45.38, 332.96°) |
| OKLab | oklab(43.29% 0.117 -0.0561) |
| OKLCH | oklch(43.29% 0.13 334.4) |
| XYZ | xyz(11.6620, 7.2030, 15.2411) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Grape
#6C3461
ΔE00 3.87
Bruise
#7E4071
ΔE00 4.44
Darkish Purple
#751973
ΔE00 5.08
Light Eggplant
#894585
ΔE00 6.72
Rich Purple
#720058
ΔE00 6.94
Purple
#800080
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792F6D #2F793B
analogous
#602F79 #792F6D #792F48
triadic
#792F6D #6D792F #2F6D79
tetradic
#792F6D #79602F #2F793B #2F4879
square
#792F6D #79602F #2F793B #2F4879
split-complementary
#792F6D #48792F #2F7960
monochromatic
#210D1E #4D1E45 #792F6D #A54095 #C261B2
Accessibility & contrast
On white
8.61
#792F6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#792F6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792F6D
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792F6D | 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)
#2E456F
Deuteranopia (green-blind)
#45506B
Tritanopia (blue-blind)
#7F3449
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #792f6d; /* rgb */ color: rgb(121, 47, 109); /* oklch */ color: oklch(43.3% 0.130 334.4);
Tailwind
colors: {
custom: {
50: '#a26c97',
500: '#792f6d',
950: '#000000',
},
}SCSS
$custom: #792f6d; $custom-light: #a26c97; $custom-dark: #000000;
JSON
{
"hex": "#792f6d",
"rgb": {
"r": 121,
"g": 47,
"b": 109
},
"hsl": {
"h": 309.73,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.43288,
"c": 0.12974,
"h": 334.4
},
"luminance": 0.07202
}Semantic roles & 50–950 ramp
primary
#792F6D
secondary
#5BA868
accent
#D46954
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070D
muted
#7F7A7E