#79197D#79197D

#79197D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.172 H 326.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#79197D
RGBrgb(121, 25, 125)
HSLhsl(298, 67%, 29%)
HSVhsv(298, 80%, 49%)
CMYKcmyk(3.2%, 80%, 0%, 51%)
CIE-LABlab(30.01, 52.04, -34.31)
CIE-LCHlch(30.01, 62.33, 326.60°)
OKLaboklab(41.95% 0.1431 -0.0954)
OKLCHoklch(41.95% 0.172 326.3)
XYZxyz(11.9342, 6.2417, 19.9743)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79197D #1D7D19
analogous
#47197D #79197D #7D194F
triadic
#79197D #7D7919 #197D79
tetradic
#79197D #7D4719 #1D7D19 #194F7D
square
#79197D #7D4719 #1D7D19 #194F7D
split-complementary
#79197D #4F7D19 #197D47
monochromatic
#19051A #480F4A #79197D #AA23B0 #D139D7

Accessibility & contrast

On white

9.34
#79197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#79197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79197D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79197D#FFFFFF#000000##FFFFFF
##79197D1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#7C2B4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79197d;
/* rgb */ color: rgb(121, 25, 125);
/* oklch */ color: oklch(41.9% 0.172 326.3);
Tailwind
colors: {
  custom: {
    50: '#a362a3',
    500: '#79197d',
    950: '#000000',
  },
}
SCSS
$custom: #79197d;
$custom-light: #a362a3;
$custom-dark: #000000;
JSON
{
  "hex": "#79197d",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 297.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41949,
    "c": 0.17203,
    "h": 326.3
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#79197D
secondary
#45B140
accent
#EA3E45
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79197D

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

Preview Lab → · Contrast checker → · Palette generator →

#79197D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva