#781D73#781D73

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

Color values

HEX#781D73
RGBrgb(120, 29, 115)
HSLhsl(303, 61%, 29%)
HSVhsv(303, 76%, 47%)
CMYKcmyk(0%, 75.8%, 4.2%, 52.9%)
CIE-LABlab(29.69, 48.77, -28.50)
CIE-LCHlch(29.69, 56.49, 329.70°)
OKLaboklab(41.49% 0.1385 -0.0786)
OKLCHoklch(41.49% 0.159 330.4)
XYZxyz(11.2796, 6.1105, 16.8017)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D73 #1D7822
analogous
#501D78 #781D73 #781D46
triadic
#781D73 #73781D #1D7378
tetradic
#781D73 #78501D #1D7822 #1D4678
square
#781D73 #78501D #1D7822 #1D4678
split-complementary
#781D73 #46781D #1D7850
monochromatic
#190618 #471144 #781D73 #A929A2 #D13FC9

Accessibility & contrast

On white

9.45
#781D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#781D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D73
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D73#FFFFFF#000000##FFFFFF
##781D731.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E75
Deuteranopia (green-blind)
#394A71
Tritanopia (blue-blind)
#7D2946
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781d73;
/* rgb */ color: rgb(120, 29, 115);
/* oklch */ color: oklch(41.5% 0.159 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2639b',
    500: '#781d73',
    950: '#000000',
  },
}
SCSS
$custom: #781d73;
$custom-light: #a2639b;
$custom-dark: #000000;
JSON
{
  "hex": "#781d73",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 303.297,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41489,
    "c": 0.15922,
    "h": 330.4
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#781D73
secondary
#45AC4B
accent
#E44C44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781D73

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

Preview Lab → · Contrast checker → · Palette generator →

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