#781A73#781A73

#781A73 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.163 H 330.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#781A73
RGBrgb(120, 26, 115)
HSLhsl(303, 64%, 29%)
HSVhsv(303, 78%, 47%)
CMYKcmyk(0%, 78.3%, 4.2%, 52.9%)
CIE-LABlab(29.34, 49.78, -29.06)
CIE-LCHlch(29.34, 57.64, 329.73°)
OKLaboklab(41.24% 0.1413 -0.0802)
OKLCHoklch(41.24% 0.163 330.4)
XYZxyz(11.2096, 5.9706, 16.7784)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A73 #1A781F
analogous
#4E1A78 #781A73 #781A44
triadic
#781A73 #73781A #1A7378
tetradic
#781A73 #784E1A #1A781F #1A4478
square
#781A73 #784E1A #1A781F #1A4478
split-complementary
#781A73 #44781A #1A784E
monochromatic
#190518 #460F43 #781A73 #AA25A3 #D438CC

Accessibility & contrast

On white

9.57
#781A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#781A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A73
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A73#FFFFFF#000000##FFFFFF
##781A731.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3D75
Deuteranopia (green-blind)
#374A71
Tritanopia (blue-blind)
#7D2745
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781a73;
/* rgb */ color: rgb(120, 26, 115);
/* oklch */ color: oklch(41.2% 0.163 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2629b',
    500: '#781a73',
    950: '#000000',
  },
}
SCSS
$custom: #781a73;
$custom-light: #a2629b;
$custom-dark: #000000;
JSON
{
  "hex": "#781a73",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 303.191,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.16251,
    "h": 330.4
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#781A73
secondary
#41AC47
accent
#E74940
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781A73

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

Preview Lab → · Contrast checker → · Palette generator →

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