#771B68#771B68

#771B68 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.152 H 335.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#771B68
RGBrgb(119, 27, 104)
HSLhsl(310, 63%, 29%)
HSVhsv(310, 77%, 47%)
CMYKcmyk(0%, 77.3%, 12.6%, 53.3%)
CIE-LABlab(28.66, 47.41, -23.08)
CIE-LCHlch(28.66, 52.73, 334.04°)
OKLaboklab(40.52% 0.1387 -0.063)
OKLCHoklch(40.52% 0.152 335.6)
XYZxyz(10.4985, 5.7062, 13.6425)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B68 #1B772A
analogous
#581B77 #771B68 #771B3A
triadic
#771B68 #68771B #1B6877
tetradic
#771B68 #77581B #1B772A #1B3A77
square
#771B68 #77581B #1B772A #1B3A77
split-complementary
#771B68 #3A771B #1B7758
monochromatic
#190616 #45103C #771B68 #A92694 #D23AB9

Accessibility & contrast

On white

9.81
#771B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#771B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B68
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B68#FFFFFF#000000##FFFFFF
##771B681.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6A
Deuteranopia (green-blind)
#3C4866
Tritanopia (blue-blind)
#7D2240
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771b68;
/* rgb */ color: rgb(119, 27, 104);
/* oklch */ color: oklch(40.5% 0.152 335.6);
Tailwind
colors: {
  custom: {
    50: '#a16293',
    500: '#771b68',
    950: '#000000',
  },
}
SCSS
$custom: #771b68;
$custom-light: #a16293;
$custom-dark: #000000;
JSON
{
  "hex": "#771b68",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 309.783,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40517,
    "c": 0.15236,
    "h": 335.6
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#771B68
secondary
#42AB54
accent
#E65D42
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #771B68

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

Preview Lab → · Contrast checker → · Palette generator →

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