#79186A#79186A

#79186A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.158 H 335.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#79186A
RGBrgb(121, 24, 106)
HSLhsl(309, 67%, 28%)
HSVhsv(309, 80%, 47%)
CMYKcmyk(0%, 80.2%, 12.4%, 52.5%)
CIE-LABlab(28.80, 49.18, -24.13)
CIE-LCHlch(28.80, 54.78, 333.87°)
OKLaboklab(40.72% 0.1439 -0.0659)
OKLCHoklch(40.72% 0.158 335.4)
XYZxyz(10.8135, 5.7598, 14.1751)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79186A #187927
analogous
#571879 #79186A #791839
triadic
#79186A #6A7918 #186A79
tetradic
#79186A #795718 #187927 #183979
square
#79186A #795718 #187927 #183979
split-complementary
#79186A #397918 #187957
monochromatic
#1A0516 #460E3D #79186A #AC2297 #D735BE

Accessibility & contrast

On white

9.76
#79186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#79186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79186A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79186A#FFFFFF#000000##FFFFFF
##79186A1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6C
Deuteranopia (green-blind)
#3C4968
Tritanopia (blue-blind)
#7F2040
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79186a;
/* rgb */ color: rgb(121, 24, 106);
/* oklch */ color: oklch(40.7% 0.158 335.4);
Tailwind
colors: {
  custom: {
    50: '#a36195',
    500: '#79186a',
    950: '#000000',
  },
}
SCSS
$custom: #79186a;
$custom-light: #a36195;
$custom-dark: #000000;
JSON
{
  "hex": "#79186a",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 309.278,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40722,
    "c": 0.15827,
    "h": 335.4
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#79186A
secondary
#3FAE50
accent
#EA593E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #79186A

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

Preview Lab → · Contrast checker → · Palette generator →

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