#79187B#79187B

#79187B is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.171 H 327.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#79187B
RGBrgb(121, 24, 123)
HSLhsl(299, 67%, 29%)
HSVhsv(299, 80%, 48%)
CMYKcmyk(1.6%, 80.5%, 0%, 51.8%)
CIE-LABlab(29.79, 51.99, -33.41)
CIE-LCHlch(29.79, 61.80, 327.27°)
OKLaboklab(41.75% 0.1441 -0.0928)
OKLCHoklch(41.75% 0.171 327.2)
XYZxyz(11.7868, 6.1491, 19.3011)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79187B #1A7B18
analogous
#48187B #79187B #7B184C
triadic
#79187B #7B7918 #187B79
tetradic
#79187B #7B4818 #1A7B18 #184C7B
square
#79187B #7B4818 #1A7B18 #184C7B
split-complementary
#79187B #4C7B18 #187B48
monochromatic
#19051A #470E48 #79187B #AB22AE #D436D8

Accessibility & contrast

On white

9.42
#79187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#79187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79187B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79187B#FFFFFF#000000##FFFFFF
##79187B1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#334A79
Tritanopia (blue-blind)
#7D2A49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79187b;
/* rgb */ color: rgb(121, 24, 123);
/* oklch */ color: oklch(41.7% 0.171 327.2);
Tailwind
colors: {
  custom: {
    50: '#a362a2',
    500: '#79187b',
    950: '#000000',
  },
}
SCSS
$custom: #79187b;
$custom-light: #a362a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79187b",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 298.788,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41746,
    "c": 0.17138,
    "h": 327.2
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#79187B
secondary
#41B03F
accent
#EA3E41
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79187B

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

Preview Lab → · Contrast checker → · Palette generator →

#79187B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva