#781A72#781A72

#781A72 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.162 H 330.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#781A72
RGBrgb(120, 26, 114)
HSLhsl(304, 64%, 29%)
HSVhsv(304, 78%, 47%)
CMYKcmyk(0%, 78.3%, 5%, 52.9%)
CIE-LABlab(29.28, 49.61, -28.51)
CIE-LCHlch(29.28, 57.22, 330.12°)
OKLaboklab(41.18% 0.1413 -0.0786)
OKLCHoklch(41.18% 0.162 330.9)
XYZxyz(11.1524, 5.9477, 16.4770)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A72 #1A7820
analogous
#4F1A78 #781A72 #781A43
triadic
#781A72 #72781A #1A7278
tetradic
#781A72 #784F1A #1A7820 #1A4378
square
#781A72 #784F1A #1A7820 #1A4378
split-complementary
#781A72 #43781A #1A784F
monochromatic
#190518 #460F42 #781A72 #AA25A2 #D438CA

Accessibility & contrast

On white

9.59
#781A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781A72
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A72#FFFFFF#000000##FFFFFF
##781A721.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D74
Deuteranopia (green-blind)
#384970
Tritanopia (blue-blind)
#7D2645
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781a72;
/* rgb */ color: rgb(120, 26, 114);
/* oklch */ color: oklch(41.2% 0.162 330.9);
Tailwind
colors: {
  custom: {
    50: '#a2629b',
    500: '#781a72',
    950: '#000000',
  },
}
SCSS
$custom: #781a72;
$custom-light: #a2629b;
$custom-dark: #000000;
JSON
{
  "hex": "#781a72",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 303.83,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41177,
    "c": 0.16172,
    "h": 330.9
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#781A72
secondary
#41AC48
accent
#E74B40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781A72

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

Preview Lab → · Contrast checker → · Palette generator →

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