#781A74#781A74

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

Color values

HEX#781A74
RGBrgb(120, 26, 116)
HSLhsl(303, 64%, 29%)
HSVhsv(303, 78%, 47%)
CMYKcmyk(0%, 78.3%, 3.3%, 52.9%)
CIE-LABlab(29.40, 49.95, -29.60)
CIE-LCHlch(29.40, 58.06, 329.35°)
OKLaboklab(41.3% 0.1414 -0.0818)
OKLCHoklch(41.3% 0.163 329.9)
XYZxyz(11.2675, 5.9937, 17.0831)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A74 #1A781E
analogous
#4D1A78 #781A74 #781A45
triadic
#781A74 #74781A #1A7478
tetradic
#781A74 #784D1A #1A781E #1A4578
square
#781A74 #784D1A #1A781E #1A4578
split-complementary
#781A74 #45781A #1A784D
monochromatic
#190518 #460F43 #781A74 #AA25A5 #D438CD

Accessibility & contrast

On white

9.55
#781A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#781A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A74
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A74#FFFFFF#000000##FFFFFF
##781A741.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D76
Deuteranopia (green-blind)
#374A72
Tritanopia (blue-blind)
#7D2746
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781a74;
/* rgb */ color: rgb(120, 26, 116);
/* oklch */ color: oklch(41.3% 0.163 329.9);
Tailwind
colors: {
  custom: {
    50: '#a2629c',
    500: '#781a74',
    950: '#000000',
  },
}
SCSS
$custom: #781a74;
$custom-light: #a2629c;
$custom-dark: #000000;
JSON
{
  "hex": "#781a74",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 302.553,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41298,
    "c": 0.1633,
    "h": 329.9
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#781A74
secondary
#41AC46
accent
#E74840
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781A74

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

Preview Lab → · Contrast checker → · Palette generator →

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