#79187C#79187C

#79187C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.172 H 326.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#79187C
RGBrgb(121, 24, 124)
HSLhsl(298, 68%, 29%)
HSVhsv(298, 81%, 49%)
CMYKcmyk(2.4%, 80.6%, 0%, 51.4%)
CIE-LABlab(29.85, 52.16, -33.94)
CIE-LCHlch(29.85, 62.23, 326.95°)
OKLaboklab(41.81% 0.144 -0.0944)
OKLCHoklch(41.81% 0.172 326.8)
XYZxyz(11.8497, 6.1743, 19.6325)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79187C #1B7C18
analogous
#47187C #79187C #7C184D
triadic
#79187C #7C7918 #187C79
tetradic
#79187C #7C4718 #1B7C18 #184D7C
square
#79187C #7C4718 #1B7C18 #184D7C
split-complementary
#79187C #4D7C18 #187C47
monochromatic
#19051A #470E49 #79187C #AB22AF #D336D8

Accessibility & contrast

On white

9.40
#79187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#79187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79187C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79187C#FFFFFF#000000##FFFFFF
##79187C1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#324A7A
Tritanopia (blue-blind)
#7D2A4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79187c;
/* rgb */ color: rgb(121, 24, 124);
/* oklch */ color: oklch(41.8% 0.172 326.8);
Tailwind
colors: {
  custom: {
    50: '#a362a2',
    500: '#79187c',
    950: '#000000',
  },
}
SCSS
$custom: #79187c;
$custom-light: #a362a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79187c",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 298.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4181,
    "c": 0.17218,
    "h": 326.8
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#79187C
secondary
#43B13F
accent
#EA3D43
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79187C

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

Preview Lab → · Contrast checker → · Palette generator →

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