#79176B#79176B

#79176B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.160 H 334.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#79176B
RGBrgb(121, 23, 107)
HSLhsl(309, 68%, 28%)
HSVhsv(309, 81%, 47%)
CMYKcmyk(0%, 81%, 11.6%, 52.5%)
CIE-LABlab(28.75, 49.64, -24.85)
CIE-LCHlch(28.75, 55.51, 333.41°)
OKLaboklab(40.7% 0.1448 -0.068)
OKLCHoklch(40.7% 0.16 334.8)
XYZxyz(10.8455, 5.7403, 14.4439)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79176B #177925
analogous
#561779 #79176B #79173A
triadic
#79176B #6B7917 #176B79
tetradic
#79176B #795617 #177925 #173A79
square
#79176B #795617 #177925 #173A79
split-complementary
#79176B #3A7917 #177956
monochromatic
#1A0517 #460D3E #79176B #AC2198 #D832C0

Accessibility & contrast

On white

9.78
#79176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79176B
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79176B#FFFFFF#000000##FFFFFF
##79176B1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163B6D
Deuteranopia (green-blind)
#3B4969
Tritanopia (blue-blind)
#7F2040
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79176b;
/* rgb */ color: rgb(121, 23, 107);
/* oklch */ color: oklch(40.7% 0.160 334.8);
Tailwind
colors: {
  custom: {
    50: '#a36195',
    500: '#79176b',
    950: '#000000',
  },
}
SCSS
$custom: #79176b;
$custom-light: #a36195;
$custom-dark: #000000;
JSON
{
  "hex": "#79176b",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 308.571,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40703,
    "c": 0.16002,
    "h": 334.8
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#79176B
secondary
#3EAE4E
accent
#EB563D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #79176B

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

Preview Lab → · Contrast checker → · Palette generator →

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