#781E79#781E79

#781E79 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.163 H 327.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#781E79
RGBrgb(120, 30, 121)
HSLhsl(299, 60%, 30%)
HSVhsv(299, 75%, 47%)
CMYKcmyk(0.8%, 75.2%, 0%, 52.5%)
CIE-LABlab(30.16, 49.46, -31.55)
CIE-LCHlch(30.16, 58.67, 327.47°)
OKLaboklab(41.94% 0.1375 -0.0875)
OKLCHoklch(41.94% 0.163 327.5)
XYZxyz(11.6610, 6.3029, 18.6879)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E79 #1F791E
analogous
#4B1E79 #781E79 #791E4C
triadic
#781E79 #79781E #1E7978
tetradic
#781E79 #794B1E #1F791E #1E4C79
square
#781E79 #794B1E #1F791E #1E4C79
split-complementary
#781E79 #4C791E #1E794B
monochromatic
#180619 #471248 #781E79 #A92AAA #CE41D0

Accessibility & contrast

On white

9.29
#781E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#781E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E79
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E79#FFFFFF#000000##FFFFFF
##781E791.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A407B
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#7C2C4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #781e79;
/* rgb */ color: rgb(120, 30, 121);
/* oklch */ color: oklch(41.9% 0.163 327.5);
Tailwind
colors: {
  custom: {
    50: '#a264a0',
    500: '#781e79',
    950: '#000000',
  },
}
SCSS
$custom: #781e79;
$custom-light: #a264a0;
$custom-dark: #000000;
JSON
{
  "hex": "#781e79",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 299.341,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41943,
    "c": 0.16297,
    "h": 327.5
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#781E79
secondary
#47AD46
accent
#E34446
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #781E79

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

Preview Lab → · Contrast checker → · Palette generator →

#781E79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva