#79187E#79187E

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

Color values

HEX#79187E
RGBrgb(121, 24, 126)
HSLhsl(297, 68%, 29%)
HSVhsv(297, 81%, 49%)
CMYKcmyk(4%, 81%, 0%, 50.6%)
CIE-LABlab(29.97, 52.51, -35.00)
CIE-LCHlch(29.97, 63.11, 326.32°)
OKLaboklab(41.94% 0.1439 -0.0974)
OKLCHoklch(41.94% 0.174 325.9)
XYZxyz(11.9774, 6.2254, 20.3054)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79187E #1D7E18
analogous
#46187E #79187E #7E1850
triadic
#79187E #7E7918 #187E79
tetradic
#79187E #7E4618 #1D7E18 #18507E
square
#79187E #7E4618 #1D7E18 #18507E
split-complementary
#79187E #507E18 #187E46
monochromatic
#19051A #480E4B #79187E #AA22B1 #D137D9

Accessibility & contrast

On white

9.35
#79187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#79187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79187E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79187E#FFFFFF#000000##FFFFFF
##79187E1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#7C2B4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #79187e;
/* rgb */ color: rgb(121, 24, 126);
/* oklch */ color: oklch(41.9% 0.174 325.9);
Tailwind
colors: {
  custom: {
    50: '#a362a4',
    500: '#79187e',
    950: '#000000',
  },
}
SCSS
$custom: #79187e;
$custom-light: #a362a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79187e",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 297.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4194,
    "c": 0.17379,
    "h": 325.9
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#79187E
secondary
#45B23F
accent
#EB3D45
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79187E

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

Preview Lab → · Contrast checker → · Palette generator →

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