#771D71#771D71

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

Color values

HEX#771D71
RGBrgb(119, 29, 113)
HSLhsl(304, 61%, 29%)
HSVhsv(304, 76%, 47%)
CMYKcmyk(0%, 75.6%, 5%, 53.3%)
CIE-LABlab(29.40, 48.19, -27.70)
CIE-LCHlch(29.40, 55.58, 330.11°)
OKLaboklab(41.21% 0.1373 -0.0763)
OKLCHoklch(41.21% 0.157 330.9)
XYZxyz(11.0277, 5.9938, 16.1957)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D71 #1D7723
analogous
#501D77 #771D71 #771D44
triadic
#771D71 #71771D #1D7177
tetradic
#771D71 #77501D #1D7723 #1D4477
square
#771D71 #77501D #1D7723 #1D4477
split-complementary
#771D71 #44771D #1D7750
monochromatic
#190617 #461142 #771D71 #A829A0 #D03EC6

Accessibility & contrast

On white

9.55
#771D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771D71
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D71#FFFFFF#000000##FFFFFF
##771D711.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D73
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#7C2845
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771d71;
/* rgb */ color: rgb(119, 29, 113);
/* oklch */ color: oklch(41.2% 0.157 330.9);
Tailwind
colors: {
  custom: {
    50: '#a1639a',
    500: '#771d71',
    950: '#000000',
  },
}
SCSS
$custom: #771d71;
$custom-light: #a1639a;
$custom-dark: #000000;
JSON
{
  "hex": "#771d71",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 304,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.15706,
    "h": 330.9
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#771D71
secondary
#45AB4C
accent
#E44F44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771D71

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

Preview Lab → · Contrast checker → · Palette generator →

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