#79167C#79167C

#79167C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.174 H 326.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#79167C
RGBrgb(121, 22, 124)
HSLhsl(298, 70%, 29%)
HSVhsv(298, 82%, 49%)
CMYKcmyk(2.4%, 82.3%, 0%, 51.4%)
CIE-LABlab(29.65, 52.73, -34.26)
CIE-LCHlch(29.65, 62.88, 326.99°)
OKLaboklab(41.67% 0.1456 -0.0953)
OKLCHoklch(41.67% 0.174 326.8)
XYZxyz(11.8100, 6.0949, 19.6193)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79167C #197C16
analogous
#46167C #79167C #7C164C
triadic
#79167C #7C7916 #167C79
tetradic
#79167C #7C4616 #197C16 #164C7C
square
#79167C #7C4616 #197C16 #164C7C
split-complementary
#79167C #4C7C16 #167C46
monochromatic
#19051A #460D48 #79167C #AC1FB0 #D632DB

Accessibility & contrast

On white

9.46
#79167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#79167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79167C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79167C#FFFFFF#000000##FFFFFF
##79167C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#314A7A
Tritanopia (blue-blind)
#7D294A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79167c;
/* rgb */ color: rgb(121, 22, 124);
/* oklch */ color: oklch(41.7% 0.174 326.8);
Tailwind
colors: {
  custom: {
    50: '#a361a2',
    500: '#79167c',
    950: '#000000',
  },
}
SCSS
$custom: #79167c;
$custom-light: #a361a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79167c",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 298.235,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4167,
    "c": 0.17402,
    "h": 326.8
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#79167C
secondary
#40B13D
accent
#ED3B40
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79167C

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

Preview Lab → · Contrast checker → · Palette generator →

#79167C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva