#79176A#79176A

#79176A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.159 H 335.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#79176A
RGBrgb(121, 23, 106)
HSLhsl(309, 68%, 28%)
HSVhsv(309, 81%, 47%)
CMYKcmyk(0%, 81%, 12.4%, 52.5%)
CIE-LABlab(28.69, 49.48, -24.29)
CIE-LCHlch(28.69, 55.12, 333.85°)
OKLaboklab(40.65% 0.1448 -0.0664)
OKLCHoklch(40.65% 0.159 335.4)
XYZxyz(10.7932, 5.7193, 14.1684)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79176A #177926
analogous
#571779 #79176A #791739
triadic
#79176A #6A7917 #176A79
tetradic
#79176A #795717 #177926 #173979
square
#79176A #795717 #177926 #173979
split-complementary
#79176A #397917 #177957
monochromatic
#1A0517 #460D3D #79176A #AC2197 #D832BF

Accessibility & contrast

On white

9.80
#79176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#79176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79176A
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79176A#FFFFFF#000000##FFFFFF
##79176A1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173A6C
Deuteranopia (green-blind)
#3C4968
Tritanopia (blue-blind)
#7F2040
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79176a;
/* rgb */ color: rgb(121, 23, 106);
/* oklch */ color: oklch(40.6% 0.159 335.4);
Tailwind
colors: {
  custom: {
    50: '#a36195',
    500: '#79176a',
    950: '#000000',
  },
}
SCSS
$custom: #79176a;
$custom-light: #a36195;
$custom-dark: #000000;
JSON
{
  "hex": "#79176a",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 309.184,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40646,
    "c": 0.15928,
    "h": 335.4
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#79176A
secondary
#3EAE4F
accent
#EB583D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #79176A

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

Preview Lab → · Contrast checker → · Palette generator →

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