#79197B#79197B

#79197B is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.170 H 327.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#79197B
RGBrgb(121, 25, 123)
HSLhsl(299, 66%, 29%)
HSVhsv(299, 80%, 48%)
CMYKcmyk(1.6%, 79.7%, 0%, 51.8%)
CIE-LABlab(29.89, 51.69, -33.24)
CIE-LCHlch(29.89, 61.45, 327.25°)
OKLaboklab(41.82% 0.1432 -0.0923)
OKLCHoklch(41.82% 0.17 327.2)
XYZxyz(11.8078, 6.1911, 19.3081)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79197B #1B7B19
analogous
#48197B #79197B #7B194C
triadic
#79197B #7B7919 #197B79
tetradic
#79197B #7B4819 #1B7B19 #194C7B
square
#79197B #7B4819 #1B7B19 #194C7B
split-complementary
#79197B #4C7B19 #197B48
monochromatic
#190519 #470F48 #79197B #AB23AE #D338D7

Accessibility & contrast

On white

9.38
#79197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79197B
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79197B#FFFFFF#000000##FFFFFF
##79197B1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#334B79
Tritanopia (blue-blind)
#7D2A4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79197b;
/* rgb */ color: rgb(121, 25, 123);
/* oklch */ color: oklch(41.8% 0.170 327.2);
Tailwind
colors: {
  custom: {
    50: '#a362a2',
    500: '#79197b',
    950: '#000000',
  },
}
SCSS
$custom: #79197b;
$custom-light: #a362a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79197b",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 298.776,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4182,
    "c": 0.17042,
    "h": 327.2
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#79197B
secondary
#43AF40
accent
#E93F42
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79197B

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

Preview Lab → · Contrast checker → · Palette generator →

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