#79156D#79156D

#79156D is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.163 H 333.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#79156D
RGBrgb(121, 21, 109)
HSLhsl(307, 70%, 28%)
HSVhsv(307, 83%, 47%)
CMYKcmyk(0%, 82.6%, 9.9%, 52.5%)
CIE-LABlab(28.66, 50.53, -26.28)
CIE-LCHlch(28.66, 56.95, 332.52°)
OKLaboklab(40.68% 0.1466 -0.0721)
OKLCHoklch(40.68% 0.163 333.8)
XYZxyz(10.9137, 5.7064, 14.9917)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79156D #157921
analogous
#531579 #79156D #79153B
triadic
#79156D #6D7915 #156D79
tetradic
#79156D #795315 #157921 #153B79
square
#79156D #795315 #157921 #153B79
split-complementary
#79156D #3B7915 #157953
monochromatic
#1A0517 #450C3E #79156D #AD1E9C #DB2EC6

Accessibility & contrast

On white

9.81
#79156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#79156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79156D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79156D#FFFFFF#000000##FFFFFF
##79156D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113A6F
Deuteranopia (green-blind)
#3A496B
Tritanopia (blue-blind)
#7F2041
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79156d;
/* rgb */ color: rgb(121, 21, 109);
/* oklch */ color: oklch(40.7% 0.163 333.8);
Tailwind
colors: {
  custom: {
    50: '#a36097',
    500: '#79156d',
    950: '#000000',
  },
}
SCSS
$custom: #79156d;
$custom-light: #a36097;
$custom-dark: #000000;
JSON
{
  "hex": "#79156d",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 307.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40676,
    "c": 0.1634,
    "h": 333.8
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#79156D
secondary
#3BAF49
accent
#ED503B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #79156D

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

Preview Lab → · Contrast checker → · Palette generator →

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