#771B77#771B77

#771B77 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.164 H 328.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#771B77
RGBrgb(119, 27, 119)
HSLhsl(300, 63%, 29%)
HSVhsv(300, 77%, 47%)
CMYKcmyk(0%, 77.3%, 0%, 53.3%)
CIE-LABlab(29.51, 49.91, -31.34)
CIE-LCHlch(29.51, 58.93, 327.88°)
OKLaboklab(41.4% 0.1393 -0.0869)
OKLCHoklch(41.4% 0.164 328)
XYZxyz(11.3293, 6.0385, 18.0180)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B77 #1B771B
analogous
#491B77 #771B77 #771B49
triadic
#771B77 #77771B #1B7777
tetradic
#771B77 #77491B #1B771B #1B4977
square
#771B77 #77491B #1B771B #1B4977
split-complementary
#771B77 #49771B #1B7749
monochromatic
#190619 #451045 #771B77 #A926A9 #D23AD2

Accessibility & contrast

On white

9.51
#771B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#771B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B77
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B77#FFFFFF#000000##FFFFFF
##771B771.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063E79
Deuteranopia (green-blind)
#354A75
Tritanopia (blue-blind)
#7B2A48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771b77;
/* rgb */ color: rgb(119, 27, 119);
/* oklch */ color: oklch(41.4% 0.164 328.0);
Tailwind
colors: {
  custom: {
    50: '#a2639f',
    500: '#771b77',
    950: '#000000',
  },
}
SCSS
$custom: #771b77;
$custom-light: #a2639f;
$custom-dark: #000000;
JSON
{
  "hex": "#771b77",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 300,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41402,
    "c": 0.16415,
    "h": 328
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#771B77
secondary
#42AB42
accent
#E64242
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771B77

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

Preview Lab → · Contrast checker → · Palette generator →

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