#79156F#79156F
#79156F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.165 H 332.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #79156F |
|---|---|
| RGB | rgb(121, 21, 111) |
| HSL | hsl(306, 70%, 28%) |
| HSV | hsv(306, 83%, 47%) |
| CMYK | cmyk(0%, 82.6%, 8.3%, 52.5%) |
| CIE-LAB | lab(28.77, 50.84, -27.38) |
| CIE-LCH | lch(28.77, 57.75, 331.70°) |
| OKLab | oklab(40.79% 0.1467 -0.0753) |
| OKLCH | oklch(40.79% 0.165 332.8) |
| XYZ | xyz(11.0226, 5.7499, 15.5652) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.47
Purple
#800080
ΔE00 3.56
Rich Purple
#720058
ΔE00 4.78
Darkmagenta
#8B008B
ΔE00 5.30
Velvet
#750851
ΔE00 6.71
Grape Purple
#5D1451
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79156F #15791F
analogous
#511579 #79156F #79153D
triadic
#79156F #6F7915 #156F79
tetradic
#79156F #795115 #15791F #153D79
square
#79156F #795115 #15791F #153D79
split-complementary
#79156F #3D7915 #157951
monochromatic
#1A0518 #450C3F #79156F #AD1E9F #DB2EC9
Accessibility & contrast
On white
9.77
#79156F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#79156F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #79156F
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79156F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##79156F | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E3B71
Deuteranopia (green-blind)
#39496D
Tritanopia (blue-blind)
#7F2142
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #79156f; /* rgb */ color: rgb(121, 21, 111); /* oklch */ color: oklch(40.8% 0.165 332.8);
Tailwind
colors: {
custom: {
50: '#a36098',
500: '#79156f',
950: '#000000',
},
}SCSS
$custom: #79156f; $custom-light: #a36098; $custom-dark: #000000;
JSON
{
"hex": "#79156f",
"rgb": {
"r": 121,
"g": 21,
"b": 111
},
"hsl": {
"h": 306,
"s": 70.423,
"l": 27.843
},
"oklch": {
"l": 0.40793,
"c": 0.16489,
"h": 332.8
},
"luminance": 0.05749
}Semantic roles & 50–950 ramp
primary
#79156F
secondary
#3BAF47
accent
#ED4C3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E