#771D81#771D81

#771D81 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.170 H 323.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#771D81
RGBrgb(119, 29, 129)
HSLhsl(294, 63%, 31%)
HSVhsv(294, 78%, 51%)
CMYKcmyk(7.8%, 77.5%, 0%, 49.4%)
CIE-LABlab(30.37, 51.04, -36.28)
CIE-LCHlch(30.37, 62.62, 324.60°)
OKLaboklab(42.21% 0.137 -0.1013)
OKLCHoklch(42.21% 0.17 323.5)
XYZxyz(12.0092, 6.3864, 21.3648)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D81 #27811D
analogous
#451D81 #771D81 #811D59
triadic
#771D81 #81771D #1D8177
tetradic
#771D81 #81451D #27811D #1D5981
square
#771D81 #81451D #27811D #1D5981
split-complementary
#771D81 #59811D #1D8145
monochromatic
#1B071D #49124F #771D81 #A528B3 #C644D5

Accessibility & contrast

On white

9.22
#771D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#771D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D81
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D81#FFFFFF#000000##FFFFFF
##771D811.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#79304E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771d81;
/* rgb */ color: rgb(119, 29, 129);
/* oklch */ color: oklch(42.2% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#a264a6',
    500: '#771d81',
    950: '#000000',
  },
}
SCSS
$custom: #771d81;
$custom-light: #a264a6;
$custom-dark: #000000;
JSON
{
  "hex": "#771d81",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 294,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42213,
    "c": 0.17034,
    "h": 323.5
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#771D81
secondary
#51B446
accent
#E64152
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771D81

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

Preview Lab → · Contrast checker → · Palette generator →

#771D81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva