#79186D#79186D

#79186D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.161 H 333.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#79186D
RGBrgb(121, 24, 109)
HSLhsl(307, 67%, 28%)
HSVhsv(307, 80%, 47%)
CMYKcmyk(0%, 80.2%, 9.9%, 52.5%)
CIE-LABlab(28.96, 49.65, -25.80)
CIE-LCHlch(28.96, 55.96, 332.55°)
OKLaboklab(40.89% 0.1441 -0.0708)
OKLCHoklch(40.89% 0.161 333.8)
XYZxyz(10.9722, 5.8233, 15.0112)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79186D #187924
analogous
#541879 #79186D #79183C
triadic
#79186D #6D7918 #186D79
tetradic
#79186D #795418 #187924 #183C79
square
#79186D #795418 #187924 #183C79
split-complementary
#79186D #3C7918 #187954
monochromatic
#1A0517 #460E3F #79186D #AC229B #D735C3

Accessibility & contrast

On white

9.70
#79186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#79186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79186D
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79186D#FFFFFF#000000##FFFFFF
##79186D1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153B6F
Deuteranopia (green-blind)
#3B496B
Tritanopia (blue-blind)
#7F2242
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79186d;
/* rgb */ color: rgb(121, 24, 109);
/* oklch */ color: oklch(40.9% 0.161 333.8);
Tailwind
colors: {
  custom: {
    50: '#a36197',
    500: '#79186d',
    950: '#000000',
  },
}
SCSS
$custom: #79186d;
$custom-light: #a36197;
$custom-dark: #000000;
JSON
{
  "hex": "#79186d",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 307.423,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40893,
    "c": 0.1605,
    "h": 333.8
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#79186D
secondary
#3FAE4D
accent
#EA533E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #79186D

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

Preview Lab → · Contrast checker → · Palette generator →

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