#79216B#79216B

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

Color values

HEX#79216B
RGBrgb(121, 33, 107)
HSLhsl(310, 57%, 30%)
HSVhsv(310, 73%, 47%)
CMYKcmyk(0%, 72.7%, 11.6%, 52.5%)
CIE-LABlab(29.95, 46.22, -22.96)
CIE-LCHlch(29.95, 51.61, 333.58°)
OKLaboklab(41.57% 0.1347 -0.0627)
OKLCHoklch(41.57% 0.149 335)
XYZxyz(11.0830, 6.2152, 14.5230)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79216B #21792F
analogous
#5B2179 #79216B #79213F
triadic
#79216B #6B7921 #216B79
tetradic
#79216B #795B21 #21792F #213F79
square
#79216B #795B21 #21792F #213F79
split-complementary
#79216B #3F7921 #21795B
monochromatic
#190716 #491440 #79216B #A92E96 #CD47B8

Accessibility & contrast

On white

9.36
#79216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#79216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79216B
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79216B#FFFFFF#000000##FFFFFF
##79216B1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6D
Deuteranopia (green-blind)
#3F4B69
Tritanopia (blue-blind)
#7F2843
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79216b;
/* rgb */ color: rgb(121, 33, 107);
/* oklch */ color: oklch(41.6% 0.149 335.0);
Tailwind
colors: {
  custom: {
    50: '#a36595',
    500: '#79216b',
    950: '#000000',
  },
}
SCSS
$custom: #79216b;
$custom-light: #a36595;
$custom-dark: #000000;
JSON
{
  "hex": "#79216b",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 309.545,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41568,
    "c": 0.14859,
    "h": 335
  },
  "luminance": 0.06214
}

Semantic roles & 50–950 ramp

primary
#79216B
secondary
#4AAC59
accent
#E06047
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #79216B

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

Preview Lab → · Contrast checker → · Palette generator →

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