#79177D#79177D

#79177D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.174 H 326.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#79177D
RGBrgb(121, 23, 125)
HSLhsl(298, 69%, 29%)
HSVhsv(298, 82%, 49%)
CMYKcmyk(3.2%, 81.6%, 0%, 51%)
CIE-LABlab(29.81, 52.63, -34.63)
CIE-LCHlch(29.81, 63.00, 326.65°)
OKLaboklab(41.8% 0.1448 -0.0964)
OKLCHoklch(41.8% 0.174 326.4)
XYZxyz(11.8930, 6.1592, 19.9605)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79177D #1B7D17
analogous
#46177D #79177D #7D174E
triadic
#79177D #7D7917 #177D79
tetradic
#79177D #7D4617 #1B7D17 #174E7D
square
#79177D #7D4617 #1B7D17 #174E7D
split-complementary
#79177D #4E7D17 #177D46
monochromatic
#19051A #470D49 #79177D #AB21B1 #D335DA

Accessibility & contrast

On white

9.41
#79177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#79177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79177D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79177D#FFFFFF#000000##FFFFFF
##79177D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#314A7B
Tritanopia (blue-blind)
#7C2A4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79177d;
/* rgb */ color: rgb(121, 23, 125);
/* oklch */ color: oklch(41.8% 0.174 326.4);
Tailwind
colors: {
  custom: {
    50: '#a362a3',
    500: '#79177d',
    950: '#000000',
  },
}
SCSS
$custom: #79177d;
$custom-light: #a362a3;
$custom-dark: #000000;
JSON
{
  "hex": "#79177d",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 297.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41804,
    "c": 0.17392,
    "h": 326.4
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#79177D
secondary
#43B23E
accent
#EC3C43
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79177D

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

Preview Lab → · Contrast checker → · Palette generator →

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