#79186B#79186B

#79186B is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.159 H 334.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#79186B
RGBrgb(121, 24, 107)
HSLhsl(309, 67%, 28%)
HSVhsv(309, 80%, 47%)
CMYKcmyk(0%, 80.2%, 11.6%, 52.5%)
CIE-LABlab(28.85, 49.34, -24.69)
CIE-LCHlch(28.85, 55.17, 333.42°)
OKLaboklab(40.78% 0.1439 -0.0675)
OKLCHoklch(40.78% 0.159 334.9)
XYZxyz(10.8658, 5.7807, 14.4506)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79186B #187926
analogous
#561879 #79186B #79183A
triadic
#79186B #6B7918 #186B79
tetradic
#79186B #795618 #187926 #183A79
square
#79186B #795618 #187926 #183A79
split-complementary
#79186B #3A7918 #187956
monochromatic
#1A0517 #460E3E #79186B #AC2298 #D735BF

Accessibility & contrast

On white

9.74
#79186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79186B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79186B#FFFFFF#000000##FFFFFF
##79186B1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173B6D
Deuteranopia (green-blind)
#3C4969
Tritanopia (blue-blind)
#7F2140
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79186b;
/* rgb */ color: rgb(121, 24, 107);
/* oklch */ color: oklch(40.8% 0.159 334.9);
Tailwind
colors: {
  custom: {
    50: '#a36195',
    500: '#79186b',
    950: '#000000',
  },
}
SCSS
$custom: #79186b;
$custom-light: #a36195;
$custom-dark: #000000;
JSON
{
  "hex": "#79186b",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 308.66,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40778,
    "c": 0.159,
    "h": 334.9
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#79186B
secondary
#3FAE4F
accent
#EA573E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #79186B

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

Preview Lab → · Contrast checker → · Palette generator →

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