#781A76#781A76

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

Color values

HEX#781A76
RGBrgb(120, 26, 118)
HSLhsl(301, 64%, 29%)
HSVhsv(301, 78%, 47%)
CMYKcmyk(0%, 78.3%, 1.7%, 52.9%)
CIE-LABlab(29.51, 50.29, -30.68)
CIE-LCHlch(29.51, 58.91, 328.61°)
OKLaboklab(41.42% 0.1413 -0.0849)
OKLCHoklch(41.42% 0.165 329)
XYZxyz(11.3850, 6.0407, 17.7024)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A76 #1A781C
analogous
#4B1A78 #781A76 #781A47
triadic
#781A76 #76781A #1A7678
tetradic
#781A76 #784B1A #1A781C #1A4778
square
#781A76 #784B1A #1A781C #1A4778
split-complementary
#781A76 #47781A #1A784B
monochromatic
#190519 #460F45 #781A76 #AA25A7 #D438D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781A76#FFFFFF#000000##FFFFFF
##781A761.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)
#083E78
Deuteranopia (green-blind)
#364A74
Tritanopia (blue-blind)
#7C2847
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781a76;
/* rgb */ color: rgb(120, 26, 118);
/* oklch */ color: oklch(41.4% 0.165 329.0);
Tailwind
colors: {
  custom: {
    50: '#a2629e',
    500: '#781a76',
    950: '#000000',
  },
}
SCSS
$custom: #781a76;
$custom-light: #a2629e;
$custom-dark: #000000;
JSON
{
  "hex": "#781a76",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 301.277,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41421,
    "c": 0.16489,
    "h": 329
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#781A76
secondary
#41AC44
accent
#E74440
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781A76

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

Preview Lab → · Contrast checker → · Palette generator →

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