#79176F#79176F
#79176F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.163 H 332.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #79176F |
|---|---|
| RGB | rgb(121, 23, 111) |
| HSL | hsl(306, 68%, 28%) |
| HSV | hsv(306, 81%, 47%) |
| CMYK | cmyk(0%, 81%, 8.3%, 52.5%) |
| CIE-LAB | lab(28.97, 50.27, -27.07) |
| CIE-LCH | lch(28.97, 57.10, 331.70°) |
| OKLab | oklab(40.94% 0.145 -0.0744) |
| OKLCH | oklch(40.94% 0.163 332.8) |
| XYZ | xyz(11.0609, 5.8264, 15.5779) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.50
Purple
#800080
ΔE00 3.68
Rich Purple
#720058
ΔE00 4.83
Darkmagenta
#8B008B
ΔE00 5.36
Velvet
#750851
ΔE00 6.70
Grape Purple
#5D1451
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79176F #177921
analogous
#521779 #79176F #79173E
triadic
#79176F #6F7917 #176F79
tetradic
#79176F #795217 #177921 #173E79
square
#79176F #795217 #177921 #173E79
split-complementary
#79176F #3E7917 #177952
monochromatic
#1A0518 #460D40 #79176F #AC219E #D832C7
Accessibility & contrast
On white
9.70
#79176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#79176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #79176F
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##79176F | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#113B71
Deuteranopia (green-blind)
#39496D
Tritanopia (blue-blind)
#7F2342
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #79176f; /* rgb */ color: rgb(121, 23, 111); /* oklch */ color: oklch(40.9% 0.163 332.8);
Tailwind
colors: {
custom: {
50: '#a36198',
500: '#79176f',
950: '#000000',
},
}SCSS
$custom: #79176f; $custom-light: #a36198; $custom-dark: #000000;
JSON
{
"hex": "#79176f",
"rgb": {
"r": 121,
"g": 23,
"b": 111
},
"hsl": {
"h": 306.122,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.40935,
"c": 0.163,
"h": 332.8
},
"luminance": 0.05825
}Semantic roles & 50–950 ramp
primary
#79176F
secondary
#3EAE49
accent
#EB4F3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E