#781C73#781C73

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

Color values

HEX#781C73
RGBrgb(120, 28, 115)
HSLhsl(303, 62%, 29%)
HSVhsv(303, 77%, 47%)
CMYKcmyk(0%, 76.7%, 4.2%, 52.9%)
CIE-LABlab(29.57, 49.12, -28.69)
CIE-LCHlch(29.57, 56.88, 329.71°)
OKLaboklab(41.4% 0.1394 -0.0792)
OKLCHoklch(41.4% 0.16 330.4)
XYZxyz(11.2555, 6.0623, 16.7937)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C73 #1C7821
analogous
#4F1C78 #781C73 #781C45
triadic
#781C73 #73781C #1C7378
tetradic
#781C73 #784F1C #1C7821 #1C4578
square
#781C73 #784F1C #1C7821 #1C4578
split-complementary
#781C73 #45781C #1C784F
monochromatic
#190618 #461043 #781C73 #AA28A3 #D23DCA

Accessibility & contrast

On white

9.49
#781C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#781C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##781C73#FFFFFF#000000##FFFFFF
##781C731.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)
#113E75
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#7D2846
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781c73;
/* rgb */ color: rgb(120, 28, 115);
/* oklch */ color: oklch(41.4% 0.160 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2639b',
    500: '#781c73',
    950: '#000000',
  },
}
SCSS
$custom: #781c73;
$custom-light: #a2639b;
$custom-dark: #000000;
JSON
{
  "hex": "#781c73",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 303.261,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41403,
    "c": 0.16034,
    "h": 330.4
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#781C73
secondary
#44AC49
accent
#E54B43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781C73

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

Preview Lab → · Contrast checker → · Palette generator →

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