#79166C#79166C

#79166C is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.162 H 334.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#79166C
RGBrgb(121, 22, 108)
HSLhsl(308, 69%, 28%)
HSVhsv(308, 82%, 47%)
CMYKcmyk(0%, 81.8%, 10.7%, 52.5%)
CIE-LABlab(28.70, 50.09, -25.57)
CIE-LCHlch(28.70, 56.24, 332.96°)
OKLaboklab(40.69% 0.1458 -0.0701)
OKLCHoklch(40.69% 0.162 334.3)
XYZxyz(10.8790, 5.7225, 14.7160)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79166C #167923
analogous
#541679 #79166C #79163A
triadic
#79166C #6C7916 #166C79
tetradic
#79166C #795416 #167923 #163A79
square
#79166C #795416 #167923 #163A79
split-complementary
#79166C #3A7916 #167954
monochromatic
#1A0517 #450D3E #79166C #AD1F9A #D930C3

Accessibility & contrast

On white

9.79
#79166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#79166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79166C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79166C#FFFFFF#000000##FFFFFF
##79166C1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143B6E
Deuteranopia (green-blind)
#3A496A
Tritanopia (blue-blind)
#7F2040
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79166c;
/* rgb */ color: rgb(121, 22, 108);
/* oklch */ color: oklch(40.7% 0.162 334.3);
Tailwind
colors: {
  custom: {
    50: '#a36196',
    500: '#79166c',
    950: '#000000',
  },
}
SCSS
$custom: #79166c;
$custom-light: #a36196;
$custom-dark: #000000;
JSON
{
  "hex": "#79166c",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 307.879,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40688,
    "c": 0.16172,
    "h": 334.3
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#79166C
secondary
#3DAE4B
accent
#EC533C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #79166C

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

Preview Lab → · Contrast checker → · Palette generator →

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