#79176F#79176F

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

Color values

HEX#79176F
RGBrgb(121, 23, 111)
HSLhsl(306, 68%, 28%)
HSVhsv(306, 81%, 47%)
CMYKcmyk(0%, 81%, 8.3%, 52.5%)
CIE-LABlab(28.97, 50.27, -27.07)
CIE-LCHlch(28.97, 57.10, 331.70°)
OKLaboklab(40.94% 0.145 -0.0744)
OKLCHoklch(40.94% 0.163 332.8)
XYZxyz(11.0609, 5.8264, 15.5779)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79176F #177921
analogous
#521779 #79176F #79173E
triadic
#79176F #6F7917 #176F79
tetradic
#79176F #795217 #177921 #173E79
square
#79176F #795217 #177921 #173E79
split-complementary
#79176F #3E7917 #177952
monochromatic
#1A0518 #460D40 #79176F #AC219E #D832C7

Accessibility & contrast

On white

9.70
#79176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#79176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79176F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79176F#FFFFFF#000000##FFFFFF
##79176F1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113B71
Deuteranopia (green-blind)
#39496D
Tritanopia (blue-blind)
#7F2342
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79176f;
/* rgb */ color: rgb(121, 23, 111);
/* oklch */ color: oklch(40.9% 0.163 332.8);
Tailwind
colors: {
  custom: {
    50: '#a36198',
    500: '#79176f',
    950: '#000000',
  },
}
SCSS
$custom: #79176f;
$custom-light: #a36198;
$custom-dark: #000000;
JSON
{
  "hex": "#79176f",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 306.122,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40935,
    "c": 0.163,
    "h": 332.8
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#79176F
secondary
#3EAE49
accent
#EB4F3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #79176F

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

Preview Lab → · Contrast checker → · Palette generator →

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