#79158D#79158D

#79158D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.8% C 0.189 H 319.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#79158D
RGBrgb(121, 21, 141)
HSLhsl(290, 74%, 32%)
HSVhsv(290, 85%, 55%)
CMYKcmyk(14.2%, 85.1%, 0%, 44.7%)
CIE-LABlab(30.70, 56.06, -43.20)
CIE-LCHlch(30.70, 70.77, 322.38°)
OKLaboklab(42.77% 0.1443 -0.1214)
OKLCHoklch(42.77% 0.189 319.9)
XYZxyz(12.9604, 6.5251, 25.7709)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79158D #298D15
analogous
#3D158D #79158D #8D1565
triadic
#79158D #8D7915 #158D79
tetradic
#79158D #8D3D15 #298D15 #15658D
square
#79158D #8D3D15 #298D15 #15658D
split-complementary
#79158D #658D15 #158D3D
monochromatic
#1E0522 #4B0D58 #79158D #A71DC2 #C63BE2

Accessibility & contrast

On white

9.11
#79158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#79158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79158D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79158D#FFFFFF#000000##FFFFFF
##79158D1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#224B8A
Tritanopia (blue-blind)
#793253
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #79158d;
/* rgb */ color: rgb(121, 21, 141);
/* oklch */ color: oklch(42.8% 0.189 319.9);
Tailwind
colors: {
  custom: {
    50: '#a462af',
    500: '#79158d',
    950: '#000000',
  },
}
SCSS
$custom: #79158d;
$custom-light: #a462af;
$custom-dark: #000000;
JSON
{
  "hex": "#79158d",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 290,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42774,
    "c": 0.18861,
    "h": 319.9
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#79158D
secondary
#53C13D
accent
#F13756
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79158D

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

Preview Lab → · Contrast checker → · Palette generator →

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