#781D6F#781D6F

#781D6F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.156 H 332.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#781D6F
RGBrgb(120, 29, 111)
HSLhsl(306, 61%, 29%)
HSVhsv(306, 76%, 47%)
CMYKcmyk(0%, 75.8%, 7.5%, 52.9%)
CIE-LABlab(29.46, 48.10, -26.30)
CIE-LCHlch(29.46, 54.82, 331.33°)
OKLaboklab(41.25% 0.1383 -0.0723)
OKLCHoklch(41.25% 0.156 332.4)
XYZxyz(11.0544, 6.0204, 15.6157)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D6F #1D7826
analogous
#541D78 #781D6F #781D42
triadic
#781D6F #6F781D #1D6F78
tetradic
#781D6F #78541D #1D7826 #1D4278
square
#781D6F #78541D #1D7826 #1D4278
split-complementary
#781D6F #42781D #1D7854
monochromatic
#190617 #471141 #781D6F #A9299D #D13FC2

Accessibility & contrast

On white

9.53
#781D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#781D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D6F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D6F#FFFFFF#000000##FFFFFF
##781D6F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#7D2744
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781d6f;
/* rgb */ color: rgb(120, 29, 111);
/* oklch */ color: oklch(41.3% 0.156 332.4);
Tailwind
colors: {
  custom: {
    50: '#a26398',
    500: '#781d6f',
    950: '#000000',
  },
}
SCSS
$custom: #781d6f;
$custom-light: #a26398;
$custom-dark: #000000;
JSON
{
  "hex": "#781d6f",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 305.934,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41254,
    "c": 0.15603,
    "h": 332.4
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#781D6F
secondary
#45AC4F
accent
#E45344
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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