#792F78#792F78
#792F78 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 43.9% C 0.139 H 328.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #792F78 |
|---|---|
| RGB | rgb(121, 47, 120) |
| HSL | hsl(301, 44%, 33%) |
| HSV | hsv(301, 61%, 47%) |
| CMYK | cmyk(0%, 61.2%, 0.8%, 52.5%) |
| CIE-LAB | lab(32.82, 42.42, -26.71) |
| CIE-LCH | lch(32.82, 50.13, 327.80°) |
| OKLab | oklab(43.88% 0.1185 -0.0736) |
| OKLCH | oklch(43.88% 0.139 328.2) |
| XYZ | xyz(12.2917, 7.4548, 18.5572) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.96
Purple
#800080
ΔE00 5.73
Bruise
#7E4071
ΔE00 5.80
Grape
#6C3461
ΔE00 5.91
Warm Purple
#952E8F
ΔE00 5.94
Darkmagenta
#8B008B
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792F78 #2F7930
analogous
#552F79 #792F78 #792F53
triadic
#792F78 #78792F #2F7879
tetradic
#792F78 #79552F #2F7930 #2F5379
square
#792F78 #79552F #2F7930 #2F5379
split-complementary
#792F78 #53792F #2F7955
monochromatic
#210D21 #4D1E4C #792F78 #A540A4 #C261C0
Accessibility & contrast
On white
8.43
#792F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#792F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792F78
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792F78 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27477A
Deuteranopia (green-blind)
#405176
Tritanopia (blue-blind)
#7D384F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #792f78; /* rgb */ color: rgb(121, 47, 120); /* oklch */ color: oklch(43.9% 0.139 328.2);
Tailwind
colors: {
custom: {
50: '#a26d9f',
500: '#792f78',
950: '#000000',
},
}SCSS
$custom: #792f78; $custom-light: #a26d9f; $custom-dark: #000000;
JSON
{
"hex": "#792f78",
"rgb": {
"r": 121,
"g": 47,
"b": 120
},
"hsl": {
"h": 300.811,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.43876,
"c": 0.13949,
"h": 328.2
},
"luminance": 0.07454
}Semantic roles & 50–950 ramp
primary
#792F78
secondary
#5BA85C
accent
#D45654
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E