#771D78#771D78

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

Color values

HEX#771D78
RGBrgb(119, 29, 120)
HSLhsl(299, 61%, 29%)
HSVhsv(299, 76%, 47%)
CMYKcmyk(0.8%, 75.8%, 0%, 52.9%)
CIE-LABlab(29.81, 49.41, -31.50)
CIE-LCHlch(29.81, 58.59, 327.48°)
OKLaboklab(41.63% 0.1374 -0.0873)
OKLCHoklch(41.63% 0.163 327.5)
XYZxyz(11.4371, 6.1576, 18.3518)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D78 #1E781D
analogous
#4A1D78 #771D78 #781D4C
triadic
#771D78 #78771D #1D7877
tetradic
#771D78 #784A1D #1E781D #1D4C78
square
#771D78 #784A1D #1E781D #1D4C78
split-complementary
#771D78 #4C781D #1D784A
monochromatic
#180619 #461147 #771D78 #A829A9 #CF3FD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771D78#FFFFFF#000000##FFFFFF
##771D781.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)
#083F7A
Deuteranopia (green-blind)
#354A76
Tritanopia (blue-blind)
#7B2C49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771d78;
/* rgb */ color: rgb(119, 29, 120);
/* oklch */ color: oklch(41.6% 0.163 327.5);
Tailwind
colors: {
  custom: {
    50: '#a1639f',
    500: '#771d78',
    950: '#000000',
  },
}
SCSS
$custom: #771d78;
$custom-light: #a1639f;
$custom-dark: #000000;
JSON
{
  "hex": "#771d78",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 299.341,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41634,
    "c": 0.16277,
    "h": 327.5
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#771D78
secondary
#46AC45
accent
#E44445
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771D78

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

Preview Lab → · Contrast checker → · Palette generator →

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