#79179F#79179F

#79179F is a dark, highly saturated purple. Relative luminance 0.072; OKLCH L 44.3% C 0.202 H 313.5°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#79179F
RGBrgb(121, 23, 159)
HSLhsl(283, 75%, 36%)
HSVhsv(283, 86%, 62%)
CMYKcmyk(23.9%, 85.5%, 0%, 37.6%)
CIE-LABlab(32.22, 59.02, -51.78)
CIE-LCHlch(32.22, 78.51, 318.74°)
OKLaboklab(44.26% 0.1392 -0.1466)
OKLCHoklch(44.26% 0.202 313.5)
XYZxyz(14.4485, 7.1814, 33.4192)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79179F #3D9F17
analogous
#35179F #79179F #9F1781
triadic
#79179F #9F7917 #179F79
tetradic
#79179F #9F3517 #3D9F17 #17819F
square
#79179F #9F3517 #3D9F17 #17819F
split-complementary
#79179F #819F17 #179F35
monochromatic
#280834 #500F6A #79179F #A21FD4 #BA4BE5

Accessibility & contrast

On white

8.62
#79179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#79179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79179F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79179F#FFFFFF#000000##FFFFFF
##79179F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#753B5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #79179f;
/* rgb */ color: rgb(121, 23, 159);
/* oklch */ color: oklch(44.3% 0.202 313.5);
Tailwind
colors: {
  custom: {
    50: '#a564bc',
    500: '#79179f',
    950: '#000000',
  },
}
SCSS
$custom: #79179f;
$custom-light: #a564bc;
$custom-dark: #000000;
JSON
{
  "hex": "#79179f",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 283.235,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44256,
    "c": 0.20217,
    "h": 313.5
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#79179F
secondary
#6EC74B
accent
#F1366B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #79179F

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

Preview Lab → · Contrast checker → · Palette generator →

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