#79176C#79176C

#79176C is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.161 H 334.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#79176C
RGBrgb(121, 23, 108)
HSLhsl(308, 68%, 28%)
HSVhsv(308, 81%, 47%)
CMYKcmyk(0%, 81%, 10.7%, 52.5%)
CIE-LABlab(28.80, 49.80, -25.41)
CIE-LCHlch(28.80, 55.90, 332.97°)
OKLaboklab(40.76% 0.1449 -0.0696)
OKLCHoklch(40.76% 0.161 334.3)
XYZxyz(10.8984, 5.7614, 14.7225)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79176C #177924
analogous
#551779 #79176C #79173B
triadic
#79176C #6C7917 #176C79
tetradic
#79176C #795517 #177924 #173B79
square
#79176C #795517 #177924 #173B79
split-complementary
#79176C #3B7917 #177955
monochromatic
#1A0517 #460D3E #79176C #AC219A #D832C2

Accessibility & contrast

On white

9.76
#79176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#79176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79176C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79176C#FFFFFF#000000##FFFFFF
##79176C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153B6E
Deuteranopia (green-blind)
#3B496A
Tritanopia (blue-blind)
#7F2141
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79176c;
/* rgb */ color: rgb(121, 23, 108);
/* oklch */ color: oklch(40.8% 0.161 334.3);
Tailwind
colors: {
  custom: {
    50: '#a36196',
    500: '#79176c',
    950: '#000000',
  },
}
SCSS
$custom: #79176c;
$custom-light: #a36196;
$custom-dark: #000000;
JSON
{
  "hex": "#79176c",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 307.959,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4076,
    "c": 0.16075,
    "h": 334.3
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#79176C
secondary
#3EAE4D
accent
#EB543D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #79176C

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

Preview Lab → · Contrast checker → · Palette generator →

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