#79186F#79186F

#79186F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.162 H 332.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#79186F
RGBrgb(121, 24, 111)
HSLhsl(306, 67%, 28%)
HSVhsv(306, 80%, 47%)
CMYKcmyk(0%, 80.2%, 8.3%, 52.5%)
CIE-LABlab(29.07, 49.97, -26.90)
CIE-LCHlch(29.07, 56.76, 331.70°)
OKLaboklab(41.01% 0.1442 -0.0739)
OKLCHoklch(41.01% 0.162 332.8)
XYZxyz(11.0811, 5.8669, 15.5847)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79186F #187922
analogous
#521879 #79186F #79183E
triadic
#79186F #6F7918 #186F79
tetradic
#79186F #795218 #187922 #183E79
square
#79186F #795218 #187922 #183E79
split-complementary
#79186F #3E7918 #187952
monochromatic
#1A0517 #460E40 #79186F #AC229E #D735C6

Accessibility & contrast

On white

9.66
#79186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#79186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79186F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79186F#FFFFFF#000000##FFFFFF
##79186F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#3A496D
Tritanopia (blue-blind)
#7F2343
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #79186f;
/* rgb */ color: rgb(121, 24, 111);
/* oklch */ color: oklch(41.0% 0.162 332.8);
Tailwind
colors: {
  custom: {
    50: '#a36198',
    500: '#79186f',
    950: '#000000',
  },
}
SCSS
$custom: #79186f;
$custom-light: #a36198;
$custom-dark: #000000;
JSON
{
  "hex": "#79186f",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 306.186,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41009,
    "c": 0.16201,
    "h": 332.8
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#79186F
secondary
#3FAE4A
accent
#EA503E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #79186F

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

Preview Lab → · Contrast checker → · Palette generator →

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