#79197F#79197F

#79197F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.174 H 325.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#79197F
RGBrgb(121, 25, 127)
HSLhsl(296, 67%, 30%)
HSVhsv(296, 80%, 50%)
CMYKcmyk(4.7%, 80.3%, 0%, 50.2%)
CIE-LABlab(30.14, 52.39, -35.36)
CIE-LCHlch(30.14, 63.21, 325.98°)
OKLaboklab(42.08% 0.143 -0.0985)
OKLCHoklch(42.08% 0.174 325.4)
XYZxyz(12.0633, 6.2933, 20.6539)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79197F #1F7F19
analogous
#46197F #79197F #7F1952
triadic
#79197F #7F7919 #197F79
tetradic
#79197F #7F4619 #1F7F19 #19527F
square
#79197F #7F4619 #1F7F19 #19527F
split-complementary
#79197F #527F19 #197F46
monochromatic
#18051A #480F4C #79197F #AA23B2 #CF3AD8

Accessibility & contrast

On white

9.30
#79197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#79197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79197F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79197F#FFFFFF#000000##FFFFFF
##79197F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#7C2C4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79197f;
/* rgb */ color: rgb(121, 25, 127);
/* oklch */ color: oklch(42.1% 0.174 325.4);
Tailwind
colors: {
  custom: {
    50: '#a363a4',
    500: '#79197f',
    950: '#000000',
  },
}
SCSS
$custom: #79197f;
$custom-light: #a363a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79197f",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 296.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42079,
    "c": 0.17366,
    "h": 325.4
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

primary
#79197F
secondary
#47B341
accent
#EA3E48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79197F

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

Preview Lab → · Contrast checker → · Palette generator →

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