#771F6D#771F6D

#771F6D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.151 H 333.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#771F6D
RGBrgb(119, 31, 109)
HSLhsl(307, 59%, 29%)
HSVhsv(307, 74%, 47%)
CMYKcmyk(0%, 73.9%, 8.4%, 53.3%)
CIE-LABlab(29.43, 46.79, -25.09)
CIE-LCHlch(29.43, 53.09, 331.80°)
OKLaboklab(41.16% 0.1349 -0.0688)
OKLCHoklch(41.16% 0.151 333)
XYZxyz(10.8581, 6.0069, 15.0526)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F6D #1F7729
analogous
#551F77 #771F6D #771F41
triadic
#771F6D #6D771F #1F6D77
tetradic
#771F6D #77551F #1F7729 #1F4177
square
#771F6D #77551F #1F7729 #1F4177
split-complementary
#771F6D #41771F #1F7755
monochromatic
#180616 #461241 #771F6D #A82C99 #CE43BE

Accessibility & contrast

On white

9.54
#771F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#771F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F6D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F6D#FFFFFF#000000##FFFFFF
##771F6D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6F
Deuteranopia (green-blind)
#3C4A6B
Tritanopia (blue-blind)
#7C2843
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771f6d;
/* rgb */ color: rgb(119, 31, 109);
/* oklch */ color: oklch(41.2% 0.151 333.0);
Tailwind
colors: {
  custom: {
    50: '#a16497',
    500: '#771f6d',
    950: '#000000',
  },
}
SCSS
$custom: #771f6d;
$custom-light: #a16497;
$custom-dark: #000000;
JSON
{
  "hex": "#771f6d",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 306.818,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4116,
    "c": 0.15146,
    "h": 333
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#771F6D
secondary
#47AB53
accent
#E25846
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #771F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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