#79177A#79177A

#79177A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.172 H 327.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#79177A
RGBrgb(121, 23, 122)
HSLhsl(299, 68%, 28%)
HSVhsv(299, 81%, 48%)
CMYKcmyk(0.8%, 81.1%, 0%, 52.2%)
CIE-LABlab(29.62, 52.11, -33.04)
CIE-LCHlch(29.62, 61.70, 327.62°)
OKLaboklab(41.61% 0.1449 -0.0917)
OKLCHoklch(41.61% 0.172 327.7)
XYZxyz(11.7042, 6.0837, 18.9664)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79177A #187A17
analogous
#47177A #79177A #7A1749
triadic
#79177A #7A7917 #177A79
tetradic
#79177A #7A4717 #187A17 #17497A
square
#79177A #7A4717 #187A17 #17497A
split-complementary
#79177A #497A17 #177A47
monochromatic
#1A051A #460D47 #79177A #AC21AD #D733D9

Accessibility & contrast

On white

9.47
#79177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#79177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79177A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79177A#FFFFFF#000000##FFFFFF
##79177A1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#7D2949
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79177a;
/* rgb */ color: rgb(121, 23, 122);
/* oklch */ color: oklch(41.6% 0.172 327.7);
Tailwind
colors: {
  custom: {
    50: '#a362a1',
    500: '#79177a',
    950: '#000000',
  },
}
SCSS
$custom: #79177a;
$custom-light: #a362a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79177a",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 299.394,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4161,
    "c": 0.17152,
    "h": 327.7
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#79177A
secondary
#3FAF3E
accent
#EB3D3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #79177A

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

Preview Lab → · Contrast checker → · Palette generator →

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