#79186C#79186C

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

Color values

HEX#79186C
RGBrgb(121, 24, 108)
HSLhsl(308, 67%, 28%)
HSVhsv(308, 80%, 47%)
CMYKcmyk(0%, 80.2%, 10.7%, 52.5%)
CIE-LABlab(28.91, 49.50, -25.24)
CIE-LCHlch(28.91, 55.56, 332.98°)
OKLaboklab(40.84% 0.144 -0.0692)
OKLCHoklch(40.84% 0.16 334.3)
XYZxyz(10.9187, 5.8019, 14.7293)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79186C #187925
analogous
#551879 #79186C #79183B
triadic
#79186C #6C7918 #186C79
tetradic
#79186C #795518 #187925 #183B79
square
#79186C #795518 #187925 #183B79
split-complementary
#79186C #3B7918 #187955
monochromatic
#1A0517 #460E3E #79186C #AC229A #D735C1

Accessibility & contrast

On white

9.72
#79186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79186C
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79186C#FFFFFF#000000##FFFFFF
##79186C1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163B6E
Deuteranopia (green-blind)
#3B496A
Tritanopia (blue-blind)
#7F2241
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79186c;
/* rgb */ color: rgb(121, 24, 108);
/* oklch */ color: oklch(40.8% 0.160 334.3);
Tailwind
colors: {
  custom: {
    50: '#a36196',
    500: '#79186c',
    950: '#000000',
  },
}
SCSS
$custom: #79186c;
$custom-light: #a36196;
$custom-dark: #000000;
JSON
{
  "hex": "#79186c",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 308.041,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40835,
    "c": 0.15976,
    "h": 334.3
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#79186C
secondary
#3FAE4E
accent
#EA553E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #79186C

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

Preview Lab → · Contrast checker → · Palette generator →

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