#79177B#79177B

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

Color values

HEX#79177B
RGBrgb(121, 23, 123)
HSLhsl(299, 68%, 29%)
HSVhsv(299, 81%, 48%)
CMYKcmyk(1.6%, 81.3%, 0%, 51.8%)
CIE-LABlab(29.69, 52.28, -33.57)
CIE-LCHlch(29.69, 62.13, 327.29°)
OKLaboklab(41.67% 0.1449 -0.0933)
OKLCHoklch(41.67% 0.172 327.2)
XYZxyz(11.7665, 6.1087, 19.2944)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79177B #197B17
analogous
#47177B #79177B #7B174B
triadic
#79177B #7B7917 #177B79
tetradic
#79177B #7B4717 #197B17 #174B7B
square
#79177B #7B4717 #197B17 #174B7B
split-complementary
#79177B #4B7B17 #177B47
monochromatic
#19051A #460D47 #79177B #AC21AF #D633D9

Accessibility & contrast

On white

9.45
#79177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79177B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79177B#FFFFFF#000000##FFFFFF
##79177B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#324A79
Tritanopia (blue-blind)
#7D2949
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79177b;
/* rgb */ color: rgb(121, 23, 123);
/* oklch */ color: oklch(41.7% 0.172 327.2);
Tailwind
colors: {
  custom: {
    50: '#a362a2',
    500: '#79177b',
    950: '#000000',
  },
}
SCSS
$custom: #79177b;
$custom-light: #a362a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79177b",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 298.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41674,
    "c": 0.17231,
    "h": 327.2
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#79177B
secondary
#40B03E
accent
#EB3C40
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79177B

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

Preview Lab → · Contrast checker → · Palette generator →

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