#771D7A#771D7A

#771D7A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.164 H 326.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#771D7A
RGBrgb(119, 29, 122)
HSLhsl(298, 62%, 30%)
HSVhsv(298, 76%, 48%)
CMYKcmyk(2.5%, 76.2%, 0%, 52.2%)
CIE-LABlab(29.93, 49.76, -32.57)
CIE-LCHlch(29.93, 59.47, 326.79°)
OKLaboklab(41.76% 0.1373 -0.0905)
OKLCHoklch(41.76% 0.164 326.6)
XYZxyz(11.5598, 6.2066, 18.9977)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D7A #207A1D
analogous
#491D7A #771D7A #7A1D4E
triadic
#771D7A #7A771D #1D7A77
tetradic
#771D7A #7A491D #207A1D #1D4E7A
square
#771D7A #7A491D #207A1D #1D4E7A
split-complementary
#771D7A #4E7A1D #1D7A49
monochromatic
#180619 #471149 #771D7A #A729AB #CD40D2

Accessibility & contrast

On white

9.37
#771D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#771D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D7A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D7A#FFFFFF#000000##FFFFFF
##771D7A1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043F7D
Deuteranopia (green-blind)
#344A78
Tritanopia (blue-blind)
#7A2C4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771d7a;
/* rgb */ color: rgb(119, 29, 122);
/* oklch */ color: oklch(41.8% 0.164 326.6);
Tailwind
colors: {
  custom: {
    50: '#a164a1',
    500: '#771d7a',
    950: '#000000',
  },
}
SCSS
$custom: #771d7a;
$custom-light: #a164a1;
$custom-dark: #000000;
JSON
{
  "hex": "#771d7a",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 298.065,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41759,
    "c": 0.16443,
    "h": 326.6
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#771D7A
secondary
#48AE45
accent
#E54348
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #771D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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