#771A71#771A71

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

Color values

HEX#771A71
RGBrgb(119, 26, 113)
HSLhsl(304, 64%, 28%)
HSVhsv(304, 78%, 47%)
CMYKcmyk(0%, 78.2%, 5%, 53.3%)
CIE-LABlab(29.04, 49.21, -28.26)
CIE-LCHlch(29.04, 56.75, 330.13°)
OKLaboklab(40.95% 0.1402 -0.0779)
OKLCHoklch(40.95% 0.16 330.9)
XYZxyz(10.9578, 5.8539, 16.1724)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A71 #1A7720
analogous
#4E1A77 #771A71 #771A42
triadic
#771A71 #71771A #1A7177
tetradic
#771A71 #774E1A #1A7720 #1A4277
square
#771A71 #774E1A #1A7720 #1A4277
split-complementary
#771A71 #42771A #1A774E
monochromatic
#190518 #450F41 #771A71 #A925A1 #D338C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771A71#FFFFFF#000000##FFFFFF
##771A711.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)
#103C73
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#7C2644
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771a71;
/* rgb */ color: rgb(119, 26, 113);
/* oklch */ color: oklch(41.0% 0.160 330.9);
Tailwind
colors: {
  custom: {
    50: '#a2629a',
    500: '#771a71',
    950: '#000000',
  },
}
SCSS
$custom: #771a71;
$custom-light: #a2629a;
$custom-dark: #000000;
JSON
{
  "hex": "#771a71",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 303.871,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40953,
    "c": 0.1604,
    "h": 330.9
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#771A71
secondary
#41AC48
accent
#E74B41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771A71

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

Preview Lab → · Contrast checker → · Palette generator →

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