#781E6F#781E6F

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

Color values

HEX#781E6F
RGBrgb(120, 30, 111)
HSLhsl(306, 60%, 29%)
HSVhsv(306, 75%, 47%)
CMYKcmyk(0%, 75%, 7.5%, 52.9%)
CIE-LABlab(29.59, 47.74, -26.11)
CIE-LCHlch(29.59, 54.41, 331.33°)
OKLaboklab(41.34% 0.1372 -0.0717)
OKLCHoklch(41.34% 0.155 332.4)
XYZxyz(11.0793, 6.0702, 15.6240)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E6F #1E7827
analogous
#541E78 #781E6F #781E42
triadic
#781E6F #6F781E #1E6F78
tetradic
#781E6F #78541E #1E7827 #1E4278
square
#781E6F #78541E #1E7827 #1E4278
split-complementary
#781E6F #42781E #1E7854
monochromatic
#180617 #471242 #781E6F #A92A9C #CF41C1

Accessibility & contrast

On white

9.49
#781E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#781E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E6F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E6F#FFFFFF#000000##FFFFFF
##781E6F1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#7D2844
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781e6f;
/* rgb */ color: rgb(120, 30, 111);
/* oklch */ color: oklch(41.3% 0.155 332.4);
Tailwind
colors: {
  custom: {
    50: '#a26498',
    500: '#781e6f',
    950: '#000000',
  },
}
SCSS
$custom: #781e6f;
$custom-light: #a26498;
$custom-dark: #000000;
JSON
{
  "hex": "#781e6f",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 306,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41344,
    "c": 0.15485,
    "h": 332.4
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#781E6F
secondary
#46AC50
accent
#E35445
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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