#79157C#79157C

#79157C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.175 H 326.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#79157C
RGBrgb(121, 21, 124)
HSLhsl(298, 71%, 28%)
HSVhsv(298, 83%, 49%)
CMYKcmyk(2.4%, 83.1%, 0%, 51.4%)
CIE-LABlab(29.56, 53.00, -34.41)
CIE-LCHlch(29.56, 63.19, 327.01°)
OKLaboklab(41.6% 0.1464 -0.0957)
OKLCHoklch(41.6% 0.175 326.8)
XYZxyz(11.7912, 6.0574, 19.6130)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79157C #187C15
analogous
#45157C #79157C #7C154B
triadic
#79157C #7C7915 #157C79
tetradic
#79157C #7C4515 #187C15 #154B7C
square
#79157C #7C4515 #187C15 #154B7C
split-complementary
#79157C #4B7C15 #157C45
monochromatic
#1A041A #460C48 #79157C #AC1EB0 #D730DC

Accessibility & contrast

On white

9.50
#79157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#79157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79157C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79157C#FFFFFF#000000##FFFFFF
##79157C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#314A7A
Tritanopia (blue-blind)
#7D2949
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79157c;
/* rgb */ color: rgb(121, 21, 124);
/* oklch */ color: oklch(41.6% 0.175 326.8);
Tailwind
colors: {
  custom: {
    50: '#a361a2',
    500: '#79157c',
    950: '#000000',
  },
}
SCSS
$custom: #79157c;
$custom-light: #a361a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79157c",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 298.252,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41604,
    "c": 0.1749,
    "h": 326.8
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#79157C
secondary
#3FB13C
accent
#EE3A3F
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79157C

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

Preview Lab → · Contrast checker → · Palette generator →

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