#79197E#79197E

#79197E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.173 H 325.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#79197E
RGBrgb(121, 25, 126)
HSLhsl(297, 67%, 30%)
HSVhsv(297, 80%, 49%)
CMYKcmyk(4%, 80.2%, 0%, 50.6%)
CIE-LABlab(30.08, 52.21, -34.83)
CIE-LCHlch(30.08, 62.77, 326.29°)
OKLaboklab(42.01% 0.1431 -0.097)
OKLCHoklch(42.01% 0.173 325.9)
XYZxyz(11.9984, 6.2674, 20.3124)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79197E #1E7E19
analogous
#47197E #79197E #7E1950
triadic
#79197E #7E7919 #197E79
tetradic
#79197E #7E4719 #1E7E19 #19507E
square
#79197E #7E4719 #1E7E19 #19507E
split-complementary
#79197E #507E19 #197E47
monochromatic
#19051A #480F4B #79197E #AA23B1 #D03AD8

Accessibility & contrast

On white

9.32
#79197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79197E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79197E#FFFFFF#000000##FFFFFF
##79197E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#7C2C4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79197e;
/* rgb */ color: rgb(121, 25, 126);
/* oklch */ color: oklch(42.0% 0.173 325.9);
Tailwind
colors: {
  custom: {
    50: '#a363a4',
    500: '#79197e',
    950: '#000000',
  },
}
SCSS
$custom: #79197e;
$custom-light: #a363a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79197e",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 297.03,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.17284,
    "h": 325.9
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#79197E
secondary
#46B241
accent
#EA3E47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79197E

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

Preview Lab → · Contrast checker → · Palette generator →

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