#79216D#79216D

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

Color values

HEX#79216D
RGBrgb(121, 33, 109)
HSLhsl(308, 57%, 30%)
HSVhsv(308, 73%, 47%)
CMYKcmyk(0%, 72.7%, 9.9%, 52.5%)
CIE-LABlab(30.05, 46.55, -24.08)
CIE-LCHlch(30.05, 52.41, 332.64°)
OKLaboklab(41.68% 0.1349 -0.0659)
OKLCHoklch(41.68% 0.15 334)
XYZxyz(11.1894, 6.2577, 15.0836)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79216D #21792D
analogous
#592179 #79216D #792141
triadic
#79216D #6D7921 #216D79
tetradic
#79216D #795921 #21792D #214179
square
#79216D #795921 #21792D #214179
split-complementary
#79216D #417921 #217959
monochromatic
#190716 #491442 #79216D #A92E98 #CD47BB

Accessibility & contrast

On white

9.33
#79216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#79216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79216D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79216D#FFFFFF#000000##FFFFFF
##79216D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F6F
Deuteranopia (green-blind)
#3E4B6B
Tritanopia (blue-blind)
#7F2944
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79216d;
/* rgb */ color: rgb(121, 33, 109);
/* oklch */ color: oklch(41.7% 0.150 334.0);
Tailwind
colors: {
  custom: {
    50: '#a36597',
    500: '#79216d',
    950: '#000000',
  },
}
SCSS
$custom: #79216d;
$custom-light: #a36597;
$custom-dark: #000000;
JSON
{
  "hex": "#79216d",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 308.182,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41678,
    "c": 0.15015,
    "h": 334
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#79216D
secondary
#4AAC57
accent
#E05C47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #79216D

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

Preview Lab → · Contrast checker → · Palette generator →

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