#79176E#79176E

#79176E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.162 H 333.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#79176E
RGBrgb(121, 23, 110)
HSLhsl(307, 68%, 28%)
HSVhsv(307, 81%, 47%)
CMYKcmyk(0%, 81%, 9.1%, 52.5%)
CIE-LABlab(28.91, 50.11, -26.52)
CIE-LCHlch(28.91, 56.70, 332.12°)
OKLaboklab(40.88% 0.145 -0.0728)
OKLCHoklch(40.88% 0.162 333.3)
XYZxyz(11.0061, 5.8045, 15.2895)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79176E #177922
analogous
#531779 #79176E #79173D
triadic
#79176E #6E7917 #176E79
tetradic
#79176E #795317 #177922 #173D79
square
#79176E #795317 #177922 #173D79
split-complementary
#79176E #3D7917 #177953
monochromatic
#1A0517 #460D3F #79176E #AC219D #D832C5

Accessibility & contrast

On white

9.72
#79176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#79176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79176E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79176E#FFFFFF#000000##FFFFFF
##79176E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B70
Deuteranopia (green-blind)
#3A496C
Tritanopia (blue-blind)
#7F2242
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79176e;
/* rgb */ color: rgb(121, 23, 110);
/* oklch */ color: oklch(40.9% 0.162 333.3);
Tailwind
colors: {
  custom: {
    50: '#a36198',
    500: '#79176e',
    950: '#000000',
  },
}
SCSS
$custom: #79176e;
$custom-light: #a36198;
$custom-dark: #000000;
JSON
{
  "hex": "#79176e",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 306.735,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40876,
    "c": 0.16225,
    "h": 333.3
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#79176E
secondary
#3EAE4A
accent
#EB503D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #79176E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#79176E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva