#79187D#79187D

#79187D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.173 H 326.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#79187D
RGBrgb(121, 24, 125)
HSLhsl(298, 68%, 29%)
HSVhsv(298, 81%, 49%)
CMYKcmyk(3.2%, 80.8%, 0%, 51%)
CIE-LABlab(29.91, 52.34, -34.47)
CIE-LCHlch(29.91, 62.67, 326.63°)
OKLaboklab(41.88% 0.144 -0.0959)
OKLCHoklch(41.88% 0.173 326.3)
XYZxyz(11.9132, 6.1997, 19.9673)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79187D #1C7D18
analogous
#47187D #79187D #7D184F
triadic
#79187D #7D7918 #187D79
tetradic
#79187D #7D4718 #1C7D18 #184F7D
square
#79187D #7D4718 #1C7D18 #184F7D
split-complementary
#79187D #4F7D18 #187D47
monochromatic
#19051A #470E4A #79187D #AB22B0 #D237D9

Accessibility & contrast

On white

9.38
#79187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#79187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79187D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79187D#FFFFFF#000000##FFFFFF
##79187D1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#7C2B4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79187d;
/* rgb */ color: rgb(121, 24, 125);
/* oklch */ color: oklch(41.9% 0.173 326.3);
Tailwind
colors: {
  custom: {
    50: '#a362a3',
    500: '#79187d',
    950: '#000000',
  },
}
SCSS
$custom: #79187d;
$custom-light: #a362a3;
$custom-dark: #000000;
JSON
{
  "hex": "#79187d",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 297.624,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41875,
    "c": 0.17299,
    "h": 326.3
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#79187D
secondary
#44B23F
accent
#EB3D44
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79187D

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

Preview Lab → · Contrast checker → · Palette generator →

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