#79216F#79216F

#79216F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.152 H 332.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#79216F
RGBrgb(121, 33, 111)
HSLhsl(307, 57%, 30%)
HSVhsv(307, 73%, 47%)
CMYKcmyk(0%, 72.7%, 8.3%, 52.5%)
CIE-LABlab(30.16, 46.88, -25.19)
CIE-LCHlch(30.16, 53.22, 331.75°)
OKLaboklab(41.79% 0.1351 -0.0691)
OKLCHoklch(41.79% 0.152 332.9)
XYZxyz(11.2983, 6.3013, 15.6571)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79216F #21792B
analogous
#572179 #79216F #792143
triadic
#79216F #6F7921 #216F79
tetradic
#79216F #795721 #21792B #214379
square
#79216F #795721 #21792B #214379
split-complementary
#79216F #437921 #217957
monochromatic
#190717 #491443 #79216F #A92E9B #CD47BE

Accessibility & contrast

On white

9.29
#79216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79216F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79216F#FFFFFF#000000##FFFFFF
##79216F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79216f;
/* rgb */ color: rgb(121, 33, 111);
/* oklch */ color: oklch(41.8% 0.152 332.9);
Tailwind
colors: {
  custom: {
    50: '#a36598',
    500: '#79216f',
    950: '#000000',
  },
}
SCSS
$custom: #79216f;
$custom-light: #a36598;
$custom-dark: #000000;
JSON
{
  "hex": "#79216f",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 306.818,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4179,
    "c": 0.15174,
    "h": 332.9
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#79216F
secondary
#4AAC55
accent
#E05947
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #79216F

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

Preview Lab → · Contrast checker → · Palette generator →

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