#781C72#781C72

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

Color values

HEX#781C72
RGBrgb(120, 28, 114)
HSLhsl(304, 62%, 29%)
HSVhsv(304, 77%, 47%)
CMYKcmyk(0%, 76.7%, 5%, 52.9%)
CIE-LABlab(29.51, 48.95, -28.14)
CIE-LCHlch(29.51, 56.46, 330.10°)
OKLaboklab(41.34% 0.1394 -0.0776)
OKLCHoklch(41.34% 0.16 330.9)
XYZxyz(11.1982, 6.0394, 16.4922)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C72 #1C7822
analogous
#501C78 #781C72 #781C44
triadic
#781C72 #72781C #1C7278
tetradic
#781C72 #78501C #1C7822 #1C4478
square
#781C72 #78501C #1C7822 #1C4478
split-complementary
#781C72 #44781C #1C7850
monochromatic
#190618 #461043 #781C72 #AA28A1 #D23DC8

Accessibility & contrast

On white

9.51
#781C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C72
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C72#FFFFFF#000000##FFFFFF
##781C721.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133D74
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#7D2845
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781c72;
/* rgb */ color: rgb(120, 28, 114);
/* oklch */ color: oklch(41.3% 0.160 330.9);
Tailwind
colors: {
  custom: {
    50: '#a2639b',
    500: '#781c72',
    950: '#000000',
  },
}
SCSS
$custom: #781c72;
$custom-light: #a2639b;
$custom-dark: #000000;
JSON
{
  "hex": "#781c72",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 303.913,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41343,
    "c": 0.15954,
    "h": 330.9
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#781C72
secondary
#44AC4B
accent
#E54D43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781C72

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

Preview Lab → · Contrast checker → · Palette generator →

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