#771F71#771F71

#771F71 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.155 H 330.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#771F71
RGBrgb(119, 31, 113)
HSLhsl(304, 59%, 29%)
HSVhsv(304, 74%, 47%)
CMYKcmyk(0%, 73.9%, 5%, 53.3%)
CIE-LABlab(29.65, 47.47, -27.30)
CIE-LCHlch(29.65, 54.76, 330.10°)
OKLaboklab(41.39% 0.1352 -0.0752)
OKLCHoklch(41.39% 0.155 330.9)
XYZxyz(11.0783, 6.0950, 16.2126)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F71 #1F7725
analogous
#511F77 #771F71 #771F45
triadic
#771F71 #71771F #1F7177
tetradic
#771F71 #77511F #1F7725 #1F4577
square
#771F71 #77511F #1F7725 #1F4577
split-complementary
#771F71 #45771F #1F7751
monochromatic
#180617 #461243 #771F71 #A82C9F #CE43C4

Accessibility & contrast

On white

9.46
#771F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#771F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F71
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F71#FFFFFF#000000##FFFFFF
##771F711.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#7C2A46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771f71;
/* rgb */ color: rgb(119, 31, 113);
/* oklch */ color: oklch(41.4% 0.155 330.9);
Tailwind
colors: {
  custom: {
    50: '#a1649a',
    500: '#771f71',
    950: '#000000',
  },
}
SCSS
$custom: #771f71;
$custom-light: #a1649a;
$custom-dark: #000000;
JSON
{
  "hex": "#771f71",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 304.091,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4139,
    "c": 0.15467,
    "h": 330.9
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#771F71
secondary
#47AB4E
accent
#E25146
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771F71

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

Preview Lab → · Contrast checker → · Palette generator →

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