#79168D#79168D

#79168D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.188 H 319.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#79168D
RGBrgb(121, 22, 141)
HSLhsl(290, 73%, 32%)
HSVhsv(290, 84%, 55%)
CMYKcmyk(14.2%, 84.4%, 0%, 44.7%)
CIE-LABlab(30.79, 55.80, -43.05)
CIE-LCHlch(30.79, 70.48, 322.35°)
OKLaboklab(42.84% 0.1437 -0.121)
OKLCHoklch(42.84% 0.188 319.9)
XYZxyz(12.9792, 6.5625, 25.7772)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79168D #2A8D16
analogous
#3E168D #79168D #8D1666
triadic
#79168D #8D7916 #168D79
tetradic
#79168D #8D3E16 #2A8D16 #16668D
square
#79168D #8D3E16 #2A8D16 #16668D
split-complementary
#79168D #668D16 #168D3E
monochromatic
#1E0523 #4C0E58 #79168D #A61EC2 #C53DE1

Accessibility & contrast

On white

9.08
#79168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#79168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79168D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79168D#FFFFFF#000000##FFFFFF
##79168D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#234C8A
Tritanopia (blue-blind)
#793253
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #79168d;
/* rgb */ color: rgb(121, 22, 141);
/* oklch */ color: oklch(42.8% 0.188 319.9);
Tailwind
colors: {
  custom: {
    50: '#a462af',
    500: '#79168d',
    950: '#000000',
  },
}
SCSS
$custom: #79168d;
$custom-light: #a462af;
$custom-dark: #000000;
JSON
{
  "hex": "#79168d",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 289.916,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.18782,
    "h": 319.9
  },
  "luminance": 0.06562
}

Semantic roles & 50–950 ramp

primary
#79168D
secondary
#54C13E
accent
#F03857
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79168D

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

Preview Lab → · Contrast checker → · Palette generator →

#79168D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva