#79166F#79166F

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

Color values

HEX#79166F
RGBrgb(121, 22, 111)
HSLhsl(306, 69%, 28%)
HSVhsv(306, 82%, 47%)
CMYKcmyk(0%, 81.8%, 8.3%, 52.5%)
CIE-LABlab(28.87, 50.56, -27.23)
CIE-LCHlch(28.87, 57.43, 331.70°)
OKLaboklab(40.86% 0.1459 -0.0749)
OKLCHoklch(40.86% 0.164 332.8)
XYZxyz(11.0414, 5.7874, 15.5714)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79166F #167920
analogous
#521679 #79166F #79163D
triadic
#79166F #6F7916 #166F79
tetradic
#79166F #795216 #167920 #163D79
square
#79166F #795216 #167920 #163D79
split-complementary
#79166F #3D7916 #167952
monochromatic
#1A0518 #450D3F #79166F #AD1F9F #D930C8

Accessibility & contrast

On white

9.73
#79166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#79166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79166F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79166F#FFFFFF#000000##FFFFFF
##79166F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79166f;
/* rgb */ color: rgb(121, 22, 111);
/* oklch */ color: oklch(40.9% 0.164 332.8);
Tailwind
colors: {
  custom: {
    50: '#a36198',
    500: '#79166f',
    950: '#000000',
  },
}
SCSS
$custom: #79166f;
$custom-light: #a36198;
$custom-dark: #000000;
JSON
{
  "hex": "#79166f",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 306.061,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40863,
    "c": 0.16396,
    "h": 332.8
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#79166F
secondary
#3DAE48
accent
#EC4E3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #79166F

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

Preview Lab → · Contrast checker → · Palette generator →

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