#79197C#79197C

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

Color values

HEX#79197C
RGBrgb(121, 25, 124)
HSLhsl(298, 66%, 29%)
HSVhsv(298, 80%, 49%)
CMYKcmyk(2.4%, 79.8%, 0%, 51.4%)
CIE-LABlab(29.95, 51.86, -33.77)
CIE-LCHlch(29.95, 61.89, 326.93°)
OKLaboklab(41.88% 0.1432 -0.0939)
OKLCHoklch(41.88% 0.171 326.7)
XYZxyz(11.8707, 6.2163, 19.6395)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79197C #1C7C19
analogous
#48197C #79197C #7C194E
triadic
#79197C #7C7919 #197C79
tetradic
#79197C #7C4819 #1C7C19 #194E7C
square
#79197C #7C4819 #1C7C19 #194E7C
split-complementary
#79197C #4E7C19 #197C48
monochromatic
#190519 #470F49 #79197C #AB23AF #D238D7

Accessibility & contrast

On white

9.36
#79197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#79197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79197C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79197C#FFFFFF#000000##FFFFFF
##79197C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#7C2B4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79197c;
/* rgb */ color: rgb(121, 25, 124);
/* oklch */ color: oklch(41.9% 0.171 326.7);
Tailwind
colors: {
  custom: {
    50: '#a362a2',
    500: '#79197c',
    950: '#000000',
  },
}
SCSS
$custom: #79197c;
$custom-light: #a362a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79197c",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 298.182,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41884,
    "c": 0.17123,
    "h": 326.7
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#79197C
secondary
#44B040
accent
#E93E44
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79197C

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

Preview Lab → · Contrast checker → · Palette generator →

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