#771C7A#771C7A

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

Color values

HEX#771C7A
RGBrgb(119, 28, 122)
HSLhsl(298, 63%, 29%)
HSVhsv(298, 77%, 48%)
CMYKcmyk(2.5%, 77%, 0%, 52.2%)
CIE-LABlab(29.81, 50.10, -32.76)
CIE-LCHlch(29.81, 59.86, 326.82°)
OKLaboklab(41.67% 0.1383 -0.091)
OKLCHoklch(41.67% 0.166 326.6)
XYZxyz(11.5357, 6.1584, 18.9897)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C7A #1F7A1C
analogous
#481C7A #771C7A #7A1C4E
triadic
#771C7A #7A771C #1C7A77
tetradic
#771C7A #7A481C #1F7A1C #1C4E7A
square
#771C7A #7A481C #1F7A1C #1C4E7A
split-complementary
#771C7A #4E7A1C #1C7A48
monochromatic
#180619 #461148 #771C7A #A827AC #CE3ED3

Accessibility & contrast

On white

9.41
#771C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#771C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C7A
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C7A#FFFFFF#000000##FFFFFF
##771C7A1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771c7a;
/* rgb */ color: rgb(119, 28, 122);
/* oklch */ color: oklch(41.7% 0.166 326.6);
Tailwind
colors: {
  custom: {
    50: '#a263a1',
    500: '#771c7a',
    950: '#000000',
  },
}
SCSS
$custom: #771c7a;
$custom-light: #a263a1;
$custom-dark: #000000;
JSON
{
  "hex": "#771c7a",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 298.085,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41674,
    "c": 0.16553,
    "h": 326.6
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#771C7A
secondary
#47AE44
accent
#E64247
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #771C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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