#771B6F#771B6F

#771B6F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.158 H 331.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#771B6F
RGBrgb(119, 27, 111)
HSLhsl(305, 63%, 29%)
HSVhsv(305, 77%, 47%)
CMYKcmyk(0%, 77.3%, 6.7%, 53.3%)
CIE-LABlab(29.04, 48.54, -26.98)
CIE-LCHlch(29.04, 55.54, 330.94°)
OKLaboklab(40.92% 0.1392 -0.0742)
OKLCHoklch(40.92% 0.158 331.9)
XYZxyz(10.8689, 5.8544, 15.5934)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B6F #1B7723
analogous
#511B77 #771B6F #771B41
triadic
#771B6F #6F771B #1B6F77
tetradic
#771B6F #77511B #1B7723 #1B4177
square
#771B6F #77511B #1B7723 #1B4177
split-complementary
#771B6F #41771B #1B7751
monochromatic
#190617 #451040 #771B6F #A9269E #D23AC5

Accessibility & contrast

On white

9.67
#771B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#771B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B6F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B6F#FFFFFF#000000##FFFFFF
##771B6F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#39496D
Tritanopia (blue-blind)
#7C2643
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771b6f;
/* rgb */ color: rgb(119, 27, 111);
/* oklch */ color: oklch(40.9% 0.158 331.9);
Tailwind
colors: {
  custom: {
    50: '#a16298',
    500: '#771b6f',
    950: '#000000',
  },
}
SCSS
$custom: #771b6f;
$custom-light: #a16298;
$custom-dark: #000000;
JSON
{
  "hex": "#771b6f",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 305.217,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40917,
    "c": 0.15774,
    "h": 331.9
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#771B6F
secondary
#42AB4C
accent
#E65042
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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