#771F76#771F76

#771F76 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.159 H 328.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#771F76
RGBrgb(119, 31, 118)
HSLhsl(301, 59%, 29%)
HSVhsv(301, 74%, 47%)
CMYKcmyk(0%, 73.9%, 0.8%, 53.3%)
CIE-LABlab(29.94, 48.34, -30.02)
CIE-LCHlch(29.94, 56.90, 328.16°)
OKLaboklab(41.69% 0.1353 -0.0831)
OKLCHoklch(41.69% 0.159 328.5)
XYZxyz(11.3676, 6.2107, 17.7361)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F76 #1F7720
analogous
#4C1F77 #771F76 #771F4A
triadic
#771F76 #76771F #1F7677
tetradic
#771F76 #774C1F #1F7720 #1F4A77
square
#771F76 #774C1F #1F7720 #1F4A77
split-complementary
#771F76 #4A771F #1F774C
monochromatic
#180618 #461246 #771F76 #A82CA6 #CE43CC

Accessibility & contrast

On white

9.37
#771F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#771F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F76
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F76#FFFFFF#000000##FFFFFF
##771F761.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113F78
Deuteranopia (green-blind)
#374B74
Tritanopia (blue-blind)
#7B2C48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771f76;
/* rgb */ color: rgb(119, 31, 118);
/* oklch */ color: oklch(41.7% 0.159 328.5);
Tailwind
colors: {
  custom: {
    50: '#a1649e',
    500: '#771f76',
    950: '#000000',
  },
}
SCSS
$custom: #771f76;
$custom-light: #a1649e;
$custom-dark: #000000;
JSON
{
  "hex": "#771f76",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 300.682,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41689,
    "c": 0.15879,
    "h": 328.5
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#771F76
secondary
#47AB48
accent
#E24846
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771F76

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

Preview Lab → · Contrast checker → · Palette generator →

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