#771F79#771F79

#771F79 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.161 H 327.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#771F79
RGBrgb(119, 31, 121)
HSLhsl(299, 59%, 30%)
HSVhsv(299, 74%, 47%)
CMYKcmyk(1.7%, 74.4%, 0%, 52.5%)
CIE-LABlab(30.12, 48.87, -31.64)
CIE-LCHlch(30.12, 58.22, 327.08°)
OKLaboklab(41.87% 0.1353 -0.0878)
OKLCHoklch(41.87% 0.161 327)
XYZxyz(11.5487, 6.2832, 18.6900)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F79 #21791F
analogous
#4A1F79 #771F79 #791F4E
triadic
#771F79 #79771F #1F7977
tetradic
#771F79 #794A1F #21791F #1F4E79
square
#771F79 #794A1F #21791F #1F4E79
split-complementary
#771F79 #4E791F #1F794A
monochromatic
#180618 #471348 #771F79 #A72BAA #CC43CF

Accessibility & contrast

On white

9.31
#771F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#771F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F79
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F79#FFFFFF#000000##FFFFFF
##771F791.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B407B
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#7B2D4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771f79;
/* rgb */ color: rgb(119, 31, 121);
/* oklch */ color: oklch(41.9% 0.161 327.0);
Tailwind
colors: {
  custom: {
    50: '#a164a0',
    500: '#771f79',
    950: '#000000',
  },
}
SCSS
$custom: #771f79;
$custom-light: #a164a0;
$custom-dark: #000000;
JSON
{
  "hex": "#771f79",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 298.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41874,
    "c": 0.16131,
    "h": 327
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#771F79
secondary
#4AAC47
accent
#E24549
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #771F79

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

Preview Lab → · Contrast checker → · Palette generator →

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