#771F6F#771F6F

#771F6F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.153 H 331.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#771F6F
RGBrgb(119, 31, 111)
HSLhsl(305, 59%, 29%)
HSVhsv(305, 74%, 47%)
CMYKcmyk(0%, 73.9%, 6.7%, 53.3%)
CIE-LABlab(29.54, 47.13, -26.19)
CIE-LCHlch(29.54, 53.92, 330.93°)
OKLaboklab(41.27% 0.1351 -0.072)
OKLCHoklch(41.27% 0.153 331.9)
XYZxyz(10.9670, 6.0505, 15.6261)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F6F #1F7727
analogous
#531F77 #771F6F #771F43
triadic
#771F6F #6F771F #1F6F77
tetradic
#771F6F #77531F #1F7727 #1F4377
square
#771F6F #77531F #1F7727 #1F4377
split-complementary
#771F6F #43771F #1F7753
monochromatic
#180617 #461242 #771F6F #A82C9C #CE43C1

Accessibility & contrast

On white

9.50
#771F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771F6F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F6F#FFFFFF#000000##FFFFFF
##771F6F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#7C2944
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771f6f;
/* rgb */ color: rgb(119, 31, 111);
/* oklch */ color: oklch(41.3% 0.153 331.9);
Tailwind
colors: {
  custom: {
    50: '#a16498',
    500: '#771f6f',
    950: '#000000',
  },
}
SCSS
$custom: #771f6f;
$custom-light: #a16498;
$custom-dark: #000000;
JSON
{
  "hex": "#771f6f",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 305.455,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41274,
    "c": 0.15306,
    "h": 331.9
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#771F6F
secondary
#47AB50
accent
#E25446
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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