#79166B#79166B

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

Color values

HEX#79166B
RGBrgb(121, 22, 107)
HSLhsl(308, 69%, 28%)
HSVhsv(308, 82%, 47%)
CMYKcmyk(0%, 81.8%, 11.6%, 52.5%)
CIE-LABlab(28.65, 49.93, -25.01)
CIE-LCHlch(28.65, 55.84, 333.39°)
OKLaboklab(40.63% 0.1457 -0.0685)
OKLCHoklch(40.63% 0.161 334.8)
XYZxyz(10.8260, 5.7013, 14.4374)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79166B #167924
analogous
#551679 #79166B #791639
triadic
#79166B #6B7916 #166B79
tetradic
#79166B #795516 #167924 #163979
square
#79166B #795516 #167924 #163979
split-complementary
#79166B #397916 #167955
monochromatic
#1A0517 #450D3D #79166B #AD1F99 #D930C1

Accessibility & contrast

On white

9.81
#79166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79166B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79166B#FFFFFF#000000##FFFFFF
##79166B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79166b;
/* rgb */ color: rgb(121, 22, 107);
/* oklch */ color: oklch(40.6% 0.161 334.8);
Tailwind
colors: {
  custom: {
    50: '#a36195',
    500: '#79166b',
    950: '#000000',
  },
}
SCSS
$custom: #79166b;
$custom-light: #a36195;
$custom-dark: #000000;
JSON
{
  "hex": "#79166b",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 308.485,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4063,
    "c": 0.16099,
    "h": 334.8
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#79166B
secondary
#3DAE4D
accent
#EC553C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #79166B

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

Preview Lab → · Contrast checker → · Palette generator →

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