#781E73#781E73

#781E73 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.158 H 330.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#781E73
RGBrgb(120, 30, 115)
HSLhsl(303, 60%, 29%)
HSVhsv(303, 75%, 47%)
CMYKcmyk(0%, 75%, 4.2%, 52.9%)
CIE-LABlab(29.81, 48.42, -28.30)
CIE-LCHlch(29.81, 56.08, 329.69°)
OKLaboklab(41.58% 0.1374 -0.0781)
OKLCHoklch(41.58% 0.158 330.4)
XYZxyz(11.3045, 6.1603, 16.8100)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E73 #1E7823
analogous
#501E78 #781E73 #781E46
triadic
#781E73 #73781E #1E7378
tetradic
#781E73 #78501E #1E7823 #1E4678
square
#781E73 #78501E #1E7823 #1E4678
split-complementary
#781E73 #46781E #1E7850
monochromatic
#180617 #471244 #781E73 #A92AA2 #CF41C8

Accessibility & contrast

On white

9.41
#781E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#781E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E73
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E73#FFFFFF#000000##FFFFFF
##781E731.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E75
Deuteranopia (green-blind)
#394B71
Tritanopia (blue-blind)
#7D2A46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781e73;
/* rgb */ color: rgb(120, 30, 115);
/* oklch */ color: oklch(41.6% 0.158 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2649b',
    500: '#781e73',
    950: '#000000',
  },
}
SCSS
$custom: #781e73;
$custom-light: #a2649b;
$custom-dark: #000000;
JSON
{
  "hex": "#781e73",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 303.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.15805,
    "h": 330.4
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#781E73
secondary
#46AC4C
accent
#E34D45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781E73

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

Preview Lab → · Contrast checker → · Palette generator →

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