#79216E#79216E

#79216E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.151 H 333.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#79216E
RGBrgb(121, 33, 110)
HSLhsl(308, 57%, 30%)
HSVhsv(308, 73%, 47%)
CMYKcmyk(0%, 72.7%, 9.1%, 52.5%)
CIE-LABlab(30.11, 46.71, -24.64)
CIE-LCHlch(30.11, 52.81, 332.19°)
OKLaboklab(41.73% 0.135 -0.0675)
OKLCHoklch(41.73% 0.151 333.4)
XYZxyz(11.2436, 6.2794, 15.3687)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79216E #21792C
analogous
#582179 #79216E #792142
triadic
#79216E #6E7921 #216E79
tetradic
#79216E #795821 #21792C #214279
square
#79216E #795821 #21792C #214279
split-complementary
#79216E #427921 #217958
monochromatic
#190717 #491442 #79216E #A92E9A #CD47BC

Accessibility & contrast

On white

9.31
#79216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#79216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79216E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79216E#FFFFFF#000000##FFFFFF
##79216E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F70
Deuteranopia (green-blind)
#3E4B6C
Tritanopia (blue-blind)
#7F2945
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79216e;
/* rgb */ color: rgb(121, 33, 110);
/* oklch */ color: oklch(41.7% 0.151 333.4);
Tailwind
colors: {
  custom: {
    50: '#a36598',
    500: '#79216e',
    950: '#000000',
  },
}
SCSS
$custom: #79216e;
$custom-light: #a36598;
$custom-dark: #000000;
JSON
{
  "hex": "#79216e",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 307.5,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41734,
    "c": 0.15095,
    "h": 333.4
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#79216E
secondary
#4AAC56
accent
#E05B47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #79216E

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

Preview Lab → · Contrast checker → · Palette generator →

#79216E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva