#79186E#79186E

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

Color values

HEX#79186E
RGBrgb(121, 24, 110)
HSLhsl(307, 67%, 28%)
HSVhsv(307, 80%, 47%)
CMYKcmyk(0%, 80.2%, 9.1%, 52.5%)
CIE-LABlab(29.02, 49.81, -26.35)
CIE-LCHlch(29.02, 56.35, 332.12°)
OKLaboklab(40.95% 0.1441 -0.0723)
OKLCHoklch(40.95% 0.161 333.3)
XYZxyz(11.0263, 5.8450, 15.2963)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79186E #187923
analogous
#531879 #79186E #79183D
triadic
#79186E #6E7918 #186E79
tetradic
#79186E #795318 #187923 #183D79
square
#79186E #795318 #187923 #183D79
split-complementary
#79186E #3D7918 #187953
monochromatic
#1A0517 #460E40 #79186E #AC229C #D735C4

Accessibility & contrast

On white

9.68
#79186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79186E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79186E#FFFFFF#000000##FFFFFF
##79186E1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C70
Deuteranopia (green-blind)
#3A496C
Tritanopia (blue-blind)
#7F2342
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79186e;
/* rgb */ color: rgb(121, 24, 110);
/* oklch */ color: oklch(41.0% 0.161 333.3);
Tailwind
colors: {
  custom: {
    50: '#a36198',
    500: '#79186e',
    950: '#000000',
  },
}
SCSS
$custom: #79186e;
$custom-light: #a36198;
$custom-dark: #000000;
JSON
{
  "hex": "#79186e",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 306.804,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40951,
    "c": 0.16125,
    "h": 333.3
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#79186E
secondary
#3FAE4C
accent
#EA513E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #79186E

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

Preview Lab → · Contrast checker → · Palette generator →

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