#781B73#781B73

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

Color values

HEX#781B73
RGBrgb(120, 27, 115)
HSLhsl(303, 63%, 29%)
HSVhsv(303, 78%, 47%)
CMYKcmyk(0%, 77.5%, 4.2%, 52.9%)
CIE-LABlab(29.45, 49.45, -28.88)
CIE-LCHlch(29.45, 57.26, 329.72°)
OKLaboklab(41.32% 0.1404 -0.0797)
OKLCHoklch(41.32% 0.161 330.4)
XYZxyz(11.2321, 6.0156, 16.7859)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B73 #1B7820
analogous
#4F1B78 #781B73 #781B45
triadic
#781B73 #73781B #1B7378
tetradic
#781B73 #784F1B #1B7820 #1B4578
square
#781B73 #784F1B #1B7820 #1B4578
split-complementary
#781B73 #45781B #1B784F
monochromatic
#190618 #461043 #781B73 #AA26A3 #D33BCB

Accessibility & contrast

On white

9.53
#781B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B73
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B73#FFFFFF#000000##FFFFFF
##781B731.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D75
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#7D2846
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781b73;
/* rgb */ color: rgb(120, 27, 115);
/* oklch */ color: oklch(41.3% 0.161 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2639b',
    500: '#781b73',
    950: '#000000',
  },
}
SCSS
$custom: #781b73;
$custom-light: #a2639b;
$custom-dark: #000000;
JSON
{
  "hex": "#781b73",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 303.226,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41319,
    "c": 0.16144,
    "h": 330.4
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#781B73
secondary
#43AC48
accent
#E64A41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781B73

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

Preview Lab → · Contrast checker → · Palette generator →

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