#781D6A#781D6A

#781D6A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.152 H 335.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#781D6A
RGBrgb(120, 29, 106)
HSLhsl(309, 61%, 29%)
HSVhsv(309, 76%, 47%)
CMYKcmyk(0%, 75.8%, 11.7%, 52.9%)
CIE-LABlab(29.19, 47.28, -23.52)
CIE-LCHlch(29.19, 52.81, 333.55°)
OKLaboklab(40.97% 0.1379 -0.0643)
OKLCHoklch(40.97% 0.152 335)
XYZxyz(10.7867, 5.9134, 14.2062)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D6A #1D782B
analogous
#591D78 #781D6A #781D3D
triadic
#781D6A #6A781D #1D6A78
tetradic
#781D6A #78591D #1D782B #1D3D78
square
#781D6A #78591D #1D782B #1D3D78
split-complementary
#781D6A #3D781D #1D7859
monochromatic
#190616 #47113E #781D6A #A92996 #D13FBA

Accessibility & contrast

On white

9.62
#781D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#781D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D6A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D6A#FFFFFF#000000##FFFFFF
##781D6A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3C6C
Deuteranopia (green-blind)
#3D4A68
Tritanopia (blue-blind)
#7E2441
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781d6a;
/* rgb */ color: rgb(120, 29, 106);
/* oklch */ color: oklch(41.0% 0.152 335.0);
Tailwind
colors: {
  custom: {
    50: '#a26395',
    500: '#781d6a',
    950: '#000000',
  },
}
SCSS
$custom: #781d6a;
$custom-light: #a26395;
$custom-dark: #000000;
JSON
{
  "hex": "#781d6a",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 106
  },
  "hsl": {
    "h": 309.231,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40971,
    "c": 0.15215,
    "h": 335
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#781D6A
secondary
#45AC55
accent
#E45C44
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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