#79157E#79157E

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

Color values

HEX#79157E
RGBrgb(121, 21, 126)
HSLhsl(297, 71%, 29%)
HSVhsv(297, 83%, 49%)
CMYKcmyk(4%, 83.3%, 0%, 50.6%)
CIE-LABlab(29.68, 53.35, -35.46)
CIE-LCHlch(29.68, 64.06, 326.39°)
OKLaboklab(41.74% 0.1462 -0.0988)
OKLCHoklch(41.74% 0.176 326)
XYZxyz(11.9190, 6.1085, 20.2859)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79157E #1A7E15
analogous
#45157E #79157E #7E154F
triadic
#79157E #7E7915 #157E79
tetradic
#79157E #7E4515 #1A7E15 #154F7E
square
#79157E #7E4515 #1A7E15 #154F7E
split-complementary
#79157E #4F7E15 #157E45
monochromatic
#19041A #470C4A #79157E #AB1EB2 #D431DD

Accessibility & contrast

On white

9.45
#79157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#79157E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79157E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79157E#FFFFFF#000000##FFFFFF
##79157E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.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: #79157e;
/* rgb */ color: rgb(121, 21, 126);
/* oklch */ color: oklch(41.7% 0.176 326.0);
Tailwind
colors: {
  custom: {
    50: '#a361a4',
    500: '#79157e',
    950: '#000000',
  },
}
SCSS
$custom: #79157e;
$custom-light: #a361a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79157e",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 297.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41735,
    "c": 0.17648,
    "h": 326
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#79157E
secondary
#41B33C
accent
#EE3A42
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79157E

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

Preview Lab → · Contrast checker → · Palette generator →

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