#771B6D#771B6D

#771B6D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.156 H 332.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#771B6D
RGBrgb(119, 27, 109)
HSLhsl(307, 63%, 29%)
HSVhsv(307, 77%, 47%)
CMYKcmyk(0%, 77.3%, 8.4%, 53.3%)
CIE-LABlab(28.93, 48.21, -25.87)
CIE-LCHlch(28.93, 54.72, 331.78°)
OKLaboklab(40.8% 0.1391 -0.071)
OKLCHoklch(40.8% 0.156 332.9)
XYZxyz(10.7601, 5.8108, 15.0199)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B6D #1B7725
analogous
#531B77 #771B6D #771B3F
triadic
#771B6D #6D771B #1B6D77
tetradic
#771B6D #77531B #1B7725 #1B3F77
square
#771B6D #77531B #1B7725 #1B3F77
split-complementary
#771B6D #3F771B #1B7753
monochromatic
#190617 #45103F #771B6D #A9269B #D23AC2

Accessibility & contrast

On white

9.71
#771B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#771B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B6D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B6D#FFFFFF#000000##FFFFFF
##771B6D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C6F
Deuteranopia (green-blind)
#3A496B
Tritanopia (blue-blind)
#7D2542
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771b6d;
/* rgb */ color: rgb(119, 27, 109);
/* oklch */ color: oklch(40.8% 0.156 332.9);
Tailwind
colors: {
  custom: {
    50: '#a16297',
    500: '#771b6d',
    950: '#000000',
  },
}
SCSS
$custom: #771b6d;
$custom-light: #a16297;
$custom-dark: #000000;
JSON
{
  "hex": "#771b6d",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 306.522,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.408,
    "c": 0.15617,
    "h": 332.9
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#771B6D
secondary
#42AB4E
accent
#E65442
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #771B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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