#771B6A#771B6A

#771B6A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.154 H 334.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#771B6A
RGBrgb(119, 27, 106)
HSLhsl(308, 63%, 29%)
HSVhsv(308, 77%, 47%)
CMYKcmyk(0%, 77.3%, 10.9%, 53.3%)
CIE-LABlab(28.77, 47.73, -24.20)
CIE-LCHlch(28.77, 53.51, 333.11°)
OKLaboklab(40.63% 0.1389 -0.0662)
OKLCHoklch(40.63% 0.154 334.5)
XYZxyz(10.6013, 5.7473, 14.1839)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B6A #1B7728
analogous
#561B77 #771B6A #771B3C
triadic
#771B6A #6A771B #1B6A77
tetradic
#771B6A #77561B #1B7728 #1B3C77
square
#771B6A #77561B #1B7728 #1B3C77
split-complementary
#771B6A #3C771B #1B7756
monochromatic
#190616 #45103E #771B6A #A92696 #D23ABD

Accessibility & contrast

On white

9.77
#771B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#771B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B6A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B6A#FFFFFF#000000##FFFFFF
##771B6A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#3B4968
Tritanopia (blue-blind)
#7D2341
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771b6a;
/* rgb */ color: rgb(119, 27, 106);
/* oklch */ color: oklch(40.6% 0.154 334.5);
Tailwind
colors: {
  custom: {
    50: '#a16295',
    500: '#771b6a',
    950: '#000000',
  },
}
SCSS
$custom: #771b6a;
$custom-light: #a16295;
$custom-dark: #000000;
JSON
{
  "hex": "#771b6a",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 308.478,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40629,
    "c": 0.15387,
    "h": 334.5
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#771B6A
secondary
#42AB51
accent
#E65942
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #771B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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