#79187A#79187A

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

Color values

HEX#79187A
RGBrgb(121, 24, 122)
HSLhsl(299, 67%, 29%)
HSVhsv(299, 80%, 48%)
CMYKcmyk(0.8%, 80.3%, 0%, 52.2%)
CIE-LABlab(29.72, 51.81, -32.88)
CIE-LCHlch(29.72, 61.36, 327.60°)
OKLaboklab(41.68% 0.1441 -0.0913)
OKLCHoklch(41.68% 0.171 327.7)
XYZxyz(11.7245, 6.1242, 18.9732)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79187A #197A18
analogous
#48187A #79187A #7A184A
triadic
#79187A #7A7918 #187A79
tetradic
#79187A #7A4818 #197A18 #184A7A
square
#79187A #7A4818 #197A18 #184A7A
split-complementary
#79187A #4A7A18 #187A48
monochromatic
#19051A #460E47 #79187A #AC22AD #D635D7

Accessibility & contrast

On white

9.44
#79187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#79187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79187A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79187A#FFFFFF#000000##FFFFFF
##79187A1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#344A78
Tritanopia (blue-blind)
#7D2949
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79187a;
/* rgb */ color: rgb(121, 24, 122);
/* oklch */ color: oklch(41.7% 0.171 327.7);
Tailwind
colors: {
  custom: {
    50: '#a362a1',
    500: '#79187a',
    950: '#000000',
  },
}
SCSS
$custom: #79187a;
$custom-light: #a362a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79187a",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 299.388,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41682,
    "c": 0.17058,
    "h": 327.7
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#79187A
secondary
#40AF3F
accent
#EA3E40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #79187A

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

Preview Lab → · Contrast checker → · Palette generator →

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