#781D6C#781D6C

#781D6C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.154 H 334.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#781D6C
RGBrgb(120, 29, 108)
HSLhsl(308, 61%, 29%)
HSVhsv(308, 76%, 47%)
CMYKcmyk(0%, 75.8%, 10%, 52.9%)
CIE-LABlab(29.30, 47.60, -24.64)
CIE-LCHlch(29.30, 53.60, 332.64°)
OKLaboklab(41.08% 0.1381 -0.0675)
OKLCHoklch(41.08% 0.154 334)
XYZxyz(10.8920, 5.9554, 14.7603)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D6C #1D7829
analogous
#571D78 #781D6C #781D3F
triadic
#781D6C #6C781D #1D6C78
tetradic
#781D6C #78571D #1D7829 #1D3F78
square
#781D6C #78571D #1D7829 #1D3F78
split-complementary
#781D6C #3F781D #1D7857
monochromatic
#190616 #471140 #781D6C #A92998 #D13FBD

Accessibility & contrast

On white

9.58
#781D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781D6C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D6C#FFFFFF#000000##FFFFFF
##781D6C1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781d6c;
/* rgb */ color: rgb(120, 29, 108);
/* oklch */ color: oklch(41.1% 0.154 334.0);
Tailwind
colors: {
  custom: {
    50: '#a26396',
    500: '#781d6c',
    950: '#000000',
  },
}
SCSS
$custom: #781d6c;
$custom-light: #a26396;
$custom-dark: #000000;
JSON
{
  "hex": "#781d6c",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 108
  },
  "hsl": {
    "h": 307.912,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.15369,
    "h": 334
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#781D6C
secondary
#45AC53
accent
#E45944
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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