#781B72#781B72

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

Color values

HEX#781B72
RGBrgb(120, 27, 114)
HSLhsl(304, 63%, 29%)
HSVhsv(304, 78%, 47%)
CMYKcmyk(0%, 77.5%, 5%, 52.9%)
CIE-LABlab(29.39, 49.28, -28.33)
CIE-LCHlch(29.39, 56.84, 330.11°)
OKLaboklab(41.26% 0.1404 -0.0781)
OKLCHoklch(41.26% 0.161 330.9)
XYZxyz(11.1749, 5.9927, 16.4845)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B72 #1B7821
analogous
#501B78 #781B72 #781B44
triadic
#781B72 #72781B #1B7278
tetradic
#781B72 #78501B #1B7821 #1B4478
square
#781B72 #78501B #1B7821 #1B4478
split-complementary
#781B72 #44781B #1B7850
monochromatic
#190618 #461043 #781B72 #AA26A1 #D33BC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781B72#FFFFFF#000000##FFFFFF
##781B721.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)
#113D74
Deuteranopia (green-blind)
#384A70
Tritanopia (blue-blind)
#7D2745
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781b72;
/* rgb */ color: rgb(120, 27, 114);
/* oklch */ color: oklch(41.3% 0.161 330.9);
Tailwind
colors: {
  custom: {
    50: '#a2639b',
    500: '#781b72',
    950: '#000000',
  },
}
SCSS
$custom: #781b72;
$custom-light: #a2639b;
$custom-dark: #000000;
JSON
{
  "hex": "#781b72",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 303.871,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41259,
    "c": 0.16065,
    "h": 330.9
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#781B72
secondary
#43AC49
accent
#E64C41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781B72

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

Preview Lab → · Contrast checker → · Palette generator →

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