#781979#781979

#781979 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.168 H 327.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#781979
RGBrgb(120, 25, 121)
HSLhsl(299, 66%, 29%)
HSVhsv(299, 79%, 47%)
CMYKcmyk(0.8%, 79.3%, 0%, 52.5%)
CIE-LABlab(29.59, 51.12, -32.47)
CIE-LCHlch(29.59, 60.56, 327.58°)
OKLaboklab(41.53% 0.1422 -0.0901)
OKLCHoklch(41.53% 0.168 327.6)
XYZxyz(11.5444, 6.0697, 18.6490)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781979 #1A7919
analogous
#481979 #781979 #79194A
triadic
#781979 #797819 #197978
tetradic
#781979 #794819 #1A7919 #194A79
square
#781979 #794819 #1A7919 #194A79
split-complementary
#781979 #4A7919 #197948
monochromatic
#190519 #460F46 #781979 #AA23AC #D437D6

Accessibility & contrast

On white

9.49
#781979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#781979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781979
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781979#FFFFFF#000000##FFFFFF
##7819791.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#7C2949
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781979;
/* rgb */ color: rgb(120, 25, 121);
/* oklch */ color: oklch(41.5% 0.168 327.6);
Tailwind
colors: {
  custom: {
    50: '#a262a0',
    500: '#781979',
    950: '#000000',
  },
}
SCSS
$custom: #781979;
$custom-light: #a262a0;
$custom-dark: #000000;
JSON
{
  "hex": "#781979",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 299.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41531,
    "c": 0.16833,
    "h": 327.6
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#781979
secondary
#41AE40
accent
#E93F41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #781979

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

Preview Lab → · Contrast checker → · Palette generator →

#781979 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva