#771C79#771C79

#771C79 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.165 H 327.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#771C79
RGBrgb(119, 28, 121)
HSLhsl(299, 62%, 29%)
HSVhsv(299, 77%, 47%)
CMYKcmyk(1.7%, 76.9%, 0%, 52.5%)
CIE-LABlab(29.75, 49.93, -32.23)
CIE-LCHlch(29.75, 59.42, 327.16°)
OKLaboklab(41.61% 0.1383 -0.0895)
OKLCHoklch(41.61% 0.165 327.1)
XYZxyz(11.4740, 6.1337, 18.6650)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C79 #1E791C
analogous
#491C79 #771C79 #791C4D
triadic
#771C79 #79771C #1C7977
tetradic
#771C79 #79491C #1E791C #1C4D79
square
#771C79 #79491C #1E791C #1C4D79
split-complementary
#771C79 #4D791C #1C7949
monochromatic
#180619 #461047 #771C79 #A828AB #CF3DD2

Accessibility & contrast

On white

9.43
#771C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771C79
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C79#FFFFFF#000000##FFFFFF
##771C791.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043F7C
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#7B2B49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771c79;
/* rgb */ color: rgb(119, 28, 121);
/* oklch */ color: oklch(41.6% 0.165 327.1);
Tailwind
colors: {
  custom: {
    50: '#a263a0',
    500: '#771c79',
    950: '#000000',
  },
}
SCSS
$custom: #771c79;
$custom-light: #a263a0;
$custom-dark: #000000;
JSON
{
  "hex": "#771c79",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 298.71,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41611,
    "c": 0.1647,
    "h": 327.1
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#771C79
secondary
#46AD44
accent
#E54246
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #771C79

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

Preview Lab → · Contrast checker → · Palette generator →

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