#79157D#79157D

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

Color values

HEX#79157D
RGBrgb(121, 21, 125)
HSLhsl(298, 71%, 29%)
HSVhsv(298, 83%, 49%)
CMYKcmyk(3.2%, 83.2%, 0%, 51%)
CIE-LABlab(29.62, 53.18, -34.93)
CIE-LCHlch(29.62, 63.63, 326.70°)
OKLaboklab(41.67% 0.1463 -0.0972)
OKLCHoklch(41.67% 0.176 326.4)
XYZxyz(11.8548, 6.0828, 19.9478)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79157D #197D15
analogous
#45157D #79157D #7D154D
triadic
#79157D #7D7915 #157D79
tetradic
#79157D #7D4515 #197D15 #154D7D
square
#79157D #7D4515 #197D15 #154D7D
split-complementary
#79157D #4D7D15 #157D45
monochromatic
#19041A #460C49 #79157D #AC1EB1 #D630DC

Accessibility & contrast

On white

9.47
#79157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79157D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79157D#FFFFFF#000000##FFFFFF
##79157D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#7C294A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79157d;
/* rgb */ color: rgb(121, 21, 125);
/* oklch */ color: oklch(41.7% 0.176 326.4);
Tailwind
colors: {
  custom: {
    50: '#a361a3',
    500: '#79157d',
    950: '#000000',
  },
}
SCSS
$custom: #79157d;
$custom-light: #a361a3;
$custom-dark: #000000;
JSON
{
  "hex": "#79157d",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 297.692,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41669,
    "c": 0.17568,
    "h": 326.4
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#79157D
secondary
#40B23C
accent
#EE3A41
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79157D

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

Preview Lab → · Contrast checker → · Palette generator →

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