#79167F#79167F

#79167F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.176 H 325.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#79167F
RGBrgb(121, 22, 127)
HSLhsl(297, 70%, 29%)
HSVhsv(297, 83%, 50%)
CMYKcmyk(4.7%, 82.7%, 0%, 50.2%)
CIE-LABlab(29.84, 53.26, -35.84)
CIE-LCHlch(29.84, 64.19, 326.06°)
OKLaboklab(41.87% 0.1454 -0.0999)
OKLCHoklch(41.87% 0.176 325.5)
XYZxyz(12.0026, 6.1719, 20.6337)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79167F #1C7F16
analogous
#44167F #79167F #7F1651
triadic
#79167F #7F7916 #167F79
tetradic
#79167F #7F4416 #1C7F16 #16517F
square
#79167F #7F4416 #1C7F16 #16517F
split-complementary
#79167F #517F16 #167F44
monochromatic
#19051A #470D4B #79167F #AB1FB3 #D234DC

Accessibility & contrast

On white

9.40
#79167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79167F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79167F#FFFFFF#000000##FFFFFF
##79167F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#7C2B4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79167f;
/* rgb */ color: rgb(121, 22, 127);
/* oklch */ color: oklch(41.9% 0.176 325.5);
Tailwind
colors: {
  custom: {
    50: '#a362a5',
    500: '#79167f',
    950: '#000000',
  },
}
SCSS
$custom: #79167f;
$custom-light: #a362a5;
$custom-dark: #000000;
JSON
{
  "hex": "#79167f",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 296.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41867,
    "c": 0.17641,
    "h": 325.5
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#79167F
secondary
#44B43D
accent
#ED3B45
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79167F

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

Preview Lab → · Contrast checker → · Palette generator →

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