#79167B#79167B

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

Color values

HEX#79167B
RGBrgb(121, 22, 123)
HSLhsl(299, 70%, 28%)
HSVhsv(299, 82%, 48%)
CMYKcmyk(1.6%, 82.1%, 0%, 51.8%)
CIE-LABlab(29.59, 52.56, -33.72)
CIE-LCHlch(29.59, 62.45, 327.31°)
OKLaboklab(41.61% 0.1457 -0.0937)
OKLCHoklch(41.61% 0.173 327.2)
XYZxyz(11.7470, 6.0697, 19.2879)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79167B #187B16
analogous
#46167B #79167B #7B164A
triadic
#79167B #7B7916 #167B79
tetradic
#79167B #7B4616 #187B16 #164A7B
square
#79167B #7B4616 #187B16 #164A7B
split-complementary
#79167B #4A7B16 #167B46
monochromatic
#1A051A #460D47 #79167B #AC1FAF #D731DA

Accessibility & contrast

On white

9.49
#79167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#79167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79167B
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79167B#FFFFFF#000000##FFFFFF
##79167B1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.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: #79167b;
/* rgb */ color: rgb(121, 22, 123);
/* oklch */ color: oklch(41.6% 0.173 327.2);
Tailwind
colors: {
  custom: {
    50: '#a361a2',
    500: '#79167b',
    950: '#000000',
  },
}
SCSS
$custom: #79167b;
$custom-light: #a361a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79167b",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 298.812,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41605,
    "c": 0.17323,
    "h": 327.2
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#79167B
secondary
#3FB03D
accent
#EC3B3F
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79167B

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

Preview Lab → · Contrast checker → · Palette generator →

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