#79167E#79167E

#79167E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.176 H 325.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#79167E
RGBrgb(121, 22, 126)
HSLhsl(297, 70%, 29%)
HSVhsv(297, 83%, 49%)
CMYKcmyk(4%, 82.5%, 0%, 50.6%)
CIE-LABlab(29.78, 53.08, -35.31)
CIE-LCHlch(29.78, 63.75, 326.36°)
OKLaboklab(41.8% 0.1455 -0.0984)
OKLCHoklch(41.8% 0.176 325.9)
XYZxyz(11.9377, 6.1460, 20.2921)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79167E #1B7E16
analogous
#45167E #79167E #7E164F
triadic
#79167E #7E7916 #167E79
tetradic
#79167E #7E4516 #1B7E16 #164F7E
square
#79167E #7E4516 #1B7E16 #164F7E
split-complementary
#79167E #4F7E16 #167E45
monochromatic
#19051A #470D4A #79167E #AB1FB2 #D333DB

Accessibility & contrast

On white

9.42
#79167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#79167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79167E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79167E#FFFFFF#000000##FFFFFF
##79167E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#304A7C
Tritanopia (blue-blind)
#7C2A4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79167e;
/* rgb */ color: rgb(121, 22, 126);
/* oklch */ color: oklch(41.8% 0.176 325.9);
Tailwind
colors: {
  custom: {
    50: '#a361a4',
    500: '#79167e',
    950: '#000000',
  },
}
SCSS
$custom: #79167e;
$custom-light: #a361a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79167e",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 297.115,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41801,
    "c": 0.17561,
    "h": 325.9
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#79167E
secondary
#43B33D
accent
#ED3B43
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79167E

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

Preview Lab → · Contrast checker → · Palette generator →

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