#771C71#771C71

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

Color values

HEX#771C71
RGBrgb(119, 28, 113)
HSLhsl(304, 62%, 29%)
HSVhsv(304, 76%, 47%)
CMYKcmyk(0%, 76.5%, 5%, 53.3%)
CIE-LABlab(29.27, 48.54, -27.89)
CIE-LCHlch(29.27, 55.98, 330.12°)
OKLaboklab(41.12% 0.1383 -0.0769)
OKLCHoklch(41.12% 0.158 330.9)
XYZxyz(11.0036, 5.9456, 16.1877)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C71 #1C7722
analogous
#501C77 #771C71 #771C44
triadic
#771C71 #71771C #1C7177
tetradic
#771C71 #77501C #1C7722 #1C4477
square
#771C71 #77501C #1C7722 #1C4477
split-complementary
#771C71 #44771C #1C7750
monochromatic
#190618 #451042 #771C71 #A928A0 #D13CC7

Accessibility & contrast

On white

9.59
#771C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#771C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C71
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C71#FFFFFF#000000##FFFFFF
##771C711.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133D73
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#7C2745
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771c71;
/* rgb */ color: rgb(119, 28, 113);
/* oklch */ color: oklch(41.1% 0.158 330.9);
Tailwind
colors: {
  custom: {
    50: '#a1639a',
    500: '#771c71',
    950: '#000000',
  },
}
SCSS
$custom: #771c71;
$custom-light: #a1639a;
$custom-dark: #000000;
JSON
{
  "hex": "#771c71",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 303.956,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4112,
    "c": 0.15821,
    "h": 330.9
  },
  "luminance": 0.05945
}

Semantic roles & 50–950 ramp

primary
#771C71
secondary
#44AB4A
accent
#E54E43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771C71

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

Preview Lab → · Contrast checker → · Palette generator →

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