#79186F#79186F
#79186F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.162 H 332.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #79186F |
|---|---|
| RGB | rgb(121, 24, 111) |
| HSL | hsl(306, 67%, 28%) |
| HSV | hsv(306, 80%, 47%) |
| CMYK | cmyk(0%, 80.2%, 8.3%, 52.5%) |
| CIE-LAB | lab(29.07, 49.97, -26.90) |
| CIE-LCH | lch(29.07, 56.76, 331.70°) |
| OKLab | oklab(41.01% 0.1442 -0.0739) |
| OKLCH | oklch(41.01% 0.162 332.8) |
| XYZ | xyz(11.0811, 5.8669, 15.5847) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.53
Purple
#800080
ΔE00 3.75
Rich Purple
#720058
ΔE00 4.86
Darkmagenta
#8B008B
ΔE00 5.39
Velvet
#750851
ΔE00 6.69
Grape Purple
#5D1451
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79186F #187922
analogous
#521879 #79186F #79183E
triadic
#79186F #6F7918 #186F79
tetradic
#79186F #795218 #187922 #183E79
square
#79186F #795218 #187922 #183E79
split-complementary
#79186F #3E7918 #187952
monochromatic
#1A0517 #460E40 #79186F #AC229E #D735C6
Accessibility & contrast
On white
9.66
#79186F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#79186F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #79186F
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79186F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##79186F | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#3A496D
Tritanopia (blue-blind)
#7F2343
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #79186f; /* rgb */ color: rgb(121, 24, 111); /* oklch */ color: oklch(41.0% 0.162 332.8);
Tailwind
colors: {
custom: {
50: '#a36198',
500: '#79186f',
950: '#000000',
},
}SCSS
$custom: #79186f; $custom-light: #a36198; $custom-dark: #000000;
JSON
{
"hex": "#79186f",
"rgb": {
"r": 121,
"g": 24,
"b": 111
},
"hsl": {
"h": 306.186,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.41009,
"c": 0.16201,
"h": 332.8
},
"luminance": 0.05866
}Semantic roles & 50–950 ramp
primary
#79186F
secondary
#3FAE4A
accent
#EA503E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E