#771C72#771C72

#771C72 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.159 H 330.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#771C72
RGBrgb(119, 28, 114)
HSLhsl(303, 62%, 29%)
HSVhsv(303, 76%, 47%)
CMYKcmyk(0%, 76.5%, 4.2%, 53.3%)
CIE-LABlab(29.33, 48.71, -28.44)
CIE-LCHlch(29.33, 56.40, 329.72°)
OKLaboklab(41.18% 0.1383 -0.0785)
OKLCHoklch(41.18% 0.159 330.4)
XYZxyz(11.0602, 5.9682, 16.4858)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C72 #1C7721
analogous
#4F1C77 #771C72 #771C45
triadic
#771C72 #72771C #1C7277
tetradic
#771C72 #774F1C #1C7721 #1C4577
square
#771C72 #774F1C #1C7721 #1C4577
split-complementary
#771C72 #45771C #1C774F
monochromatic
#190618 #451043 #771C72 #A928A1 #D13CC9

Accessibility & contrast

On white

9.57
#771C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771C72
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C72#FFFFFF#000000##FFFFFF
##771C721.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D74
Deuteranopia (green-blind)
#384970
Tritanopia (blue-blind)
#7C2845
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771c72;
/* rgb */ color: rgb(119, 28, 114);
/* oklch */ color: oklch(41.2% 0.159 330.4);
Tailwind
colors: {
  custom: {
    50: '#a1639b',
    500: '#771c72',
    950: '#000000',
  },
}
SCSS
$custom: #771c72;
$custom-light: #a1639b;
$custom-dark: #000000;
JSON
{
  "hex": "#771c72",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 303.297,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.159,
    "h": 330.4
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#771C72
secondary
#44AB49
accent
#E54C43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771C72

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

Preview Lab → · Contrast checker → · Palette generator →

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