#781D74#781D74

#781D74 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.160 H 329.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#781D74
RGBrgb(120, 29, 116)
HSLhsl(303, 61%, 29%)
HSVhsv(303, 76%, 47%)
CMYKcmyk(0%, 75.8%, 3.3%, 52.9%)
CIE-LABlab(29.75, 48.94, -29.04)
CIE-LCHlch(29.75, 56.91, 329.31°)
OKLaboklab(41.55% 0.1385 -0.0802)
OKLCHoklch(41.55% 0.16 329.9)
XYZxyz(11.3374, 6.1336, 17.1064)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D74 #1D7821
analogous
#4F1D78 #781D74 #781D47
triadic
#781D74 #74781D #1D7478
tetradic
#781D74 #784F1D #1D7821 #1D4778
square
#781D74 #784F1D #1D7821 #1D4778
split-complementary
#781D74 #47781D #1D784F
monochromatic
#190618 #471144 #781D74 #A929A4 #D13FCA

Accessibility & contrast

On white

9.43
#781D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#781D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D74
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D74#FFFFFF#000000##FFFFFF
##781D741.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E76
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#7D2947
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781d74;
/* rgb */ color: rgb(120, 29, 116);
/* oklch */ color: oklch(41.5% 0.160 329.9);
Tailwind
colors: {
  custom: {
    50: '#a2639c',
    500: '#781d74',
    950: '#000000',
  },
}
SCSS
$custom: #781d74;
$custom-light: #a2639c;
$custom-dark: #000000;
JSON
{
  "hex": "#781d74",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 302.637,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41549,
    "c": 0.16002,
    "h": 329.9
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#781D74
secondary
#45AC49
accent
#E44B44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781D74

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

Preview Lab → · Contrast checker → · Palette generator →

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