#781D79#781D79

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

Color values

HEX#781D79
RGBrgb(120, 29, 121)
HSLhsl(299, 61%, 29%)
HSVhsv(299, 76%, 47%)
CMYKcmyk(0.8%, 76%, 0%, 52.5%)
CIE-LABlab(30.04, 49.81, -31.75)
CIE-LCHlch(30.04, 59.07, 327.49°)
OKLaboklab(41.86% 0.1385 -0.088)
OKLCHoklch(41.86% 0.164 327.6)
XYZxyz(11.6361, 6.2531, 18.6796)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D79 #1E791D
analogous
#4A1D79 #781D79 #791D4C
triadic
#781D79 #79781D #1D7978
tetradic
#781D79 #794A1D #1E791D #1D4C79
square
#781D79 #794A1D #1E791D #1D4C79
split-complementary
#781D79 #4C791D #1D794A
monochromatic
#180619 #471148 #781D79 #A929AA #CF3FD1

Accessibility & contrast

On white

9.33
#781D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#781D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D79
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D79#FFFFFF#000000##FFFFFF
##781D791.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083F7C
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#7C2C49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #781d79;
/* rgb */ color: rgb(120, 29, 121);
/* oklch */ color: oklch(41.9% 0.164 327.6);
Tailwind
colors: {
  custom: {
    50: '#a264a0',
    500: '#781d79',
    950: '#000000',
  },
}
SCSS
$custom: #781d79;
$custom-light: #a264a0;
$custom-dark: #000000;
JSON
{
  "hex": "#781d79",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 299.348,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41855,
    "c": 0.16411,
    "h": 327.6
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#781D79
secondary
#46AD45
accent
#E44345
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #781D79

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

Preview Lab → · Contrast checker → · Palette generator →

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