#781D6B#781D6B

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

Color values

HEX#781D6B
RGBrgb(120, 29, 107)
HSLhsl(309, 61%, 29%)
HSVhsv(309, 76%, 47%)
CMYKcmyk(0%, 75.8%, 10.8%, 52.9%)
CIE-LABlab(29.25, 47.44, -24.08)
CIE-LCHlch(29.25, 53.20, 333.09°)
OKLaboklab(41.03% 0.138 -0.0659)
OKLCHoklch(41.03% 0.153 334.5)
XYZxyz(10.8390, 5.9343, 14.4816)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D6B #1D782A
analogous
#581D78 #781D6B #781D3E
triadic
#781D6B #6B781D #1D6B78
tetradic
#781D6B #78581D #1D782A #1D3E78
square
#781D6B #78581D #1D782A #1D3E78
split-complementary
#781D6B #3E781D #1D7858
monochromatic
#190616 #47113F #781D6B #A92997 #D13FBC

Accessibility & contrast

On white

9.60
#781D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781D6B
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D6B#FFFFFF#000000##FFFFFF
##781D6B1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6D
Deuteranopia (green-blind)
#3D4A69
Tritanopia (blue-blind)
#7E2542
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781d6b;
/* rgb */ color: rgb(120, 29, 107);
/* oklch */ color: oklch(41.0% 0.153 334.5);
Tailwind
colors: {
  custom: {
    50: '#a26395',
    500: '#781d6b',
    950: '#000000',
  },
}
SCSS
$custom: #781d6b;
$custom-light: #a26395;
$custom-dark: #000000;
JSON
{
  "hex": "#781d6b",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 107
  },
  "hsl": {
    "h": 308.571,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41026,
    "c": 0.15291,
    "h": 334.5
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#781D6B
secondary
#45AC54
accent
#E45B44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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