#79177E#79177E

#79177E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.175 H 325.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#79177E
RGBrgb(121, 23, 126)
HSLhsl(297, 69%, 29%)
HSVhsv(297, 82%, 49%)
CMYKcmyk(4%, 81.7%, 0%, 50.6%)
CIE-LABlab(29.87, 52.80, -35.16)
CIE-LCHlch(29.87, 63.44, 326.34°)
OKLaboklab(41.87% 0.1447 -0.0979)
OKLCHoklch(41.87% 0.175 325.9)
XYZxyz(11.9572, 6.1849, 20.2986)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79177E #1C7E17
analogous
#46177E #79177E #7E1750
triadic
#79177E #7E7917 #177E79
tetradic
#79177E #7E4617 #1C7E17 #17507E
square
#79177E #7E4617 #1C7E17 #17507E
split-complementary
#79177E #507E17 #177E46
monochromatic
#19051A #470E4A #79177E #AB20B2 #D235DA

Accessibility & contrast

On white

9.39
#79177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#79177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79177E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79177E#FFFFFF#000000##FFFFFF
##79177E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79177e;
/* rgb */ color: rgb(121, 23, 126);
/* oklch */ color: oklch(41.9% 0.175 325.9);
Tailwind
colors: {
  custom: {
    50: '#a362a4',
    500: '#79177e',
    950: '#000000',
  },
}
SCSS
$custom: #79177e;
$custom-light: #a362a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79177e",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 297.087,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4187,
    "c": 0.17472,
    "h": 325.9
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#79177E
secondary
#44B33E
accent
#EC3C44
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79177E

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

Preview Lab → · Contrast checker → · Palette generator →

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