#79216C#79216C

#79216C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.149 H 334.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#79216C
RGBrgb(121, 33, 108)
HSLhsl(309, 57%, 30%)
HSVhsv(309, 73%, 47%)
CMYKcmyk(0%, 72.7%, 10.7%, 52.5%)
CIE-LABlab(30.00, 46.38, -23.52)
CIE-LCHlch(30.00, 52.01, 333.11°)
OKLaboklab(41.62% 0.1348 -0.0643)
OKLCHoklch(41.62% 0.149 334.5)
XYZxyz(11.1359, 6.2363, 14.8017)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79216C #21792E
analogous
#5A2179 #79216C #792140
triadic
#79216C #6C7921 #216C79
tetradic
#79216C #795A21 #21792E #214079
square
#79216C #795A21 #21792E #214079
split-complementary
#79216C #407921 #21795A
monochromatic
#190716 #491441 #79216C #A92E97 #CD47B9

Accessibility & contrast

On white

9.35
#79216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79216C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79216C#FFFFFF#000000##FFFFFF
##79216C1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#3F4B6A
Tritanopia (blue-blind)
#7F2844
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79216c;
/* rgb */ color: rgb(121, 33, 108);
/* oklch */ color: oklch(41.6% 0.149 334.5);
Tailwind
colors: {
  custom: {
    50: '#a36596',
    500: '#79216c',
    950: '#000000',
  },
}
SCSS
$custom: #79216c;
$custom-light: #a36596;
$custom-dark: #000000;
JSON
{
  "hex": "#79216c",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 308.864,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41623,
    "c": 0.14937,
    "h": 334.5
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#79216C
secondary
#4AAC58
accent
#E05E47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #79216C

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

Preview Lab → · Contrast checker → · Palette generator →

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