#771F72#771F72

#771F72 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.155 H 330.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#771F72
RGBrgb(119, 31, 114)
HSLhsl(303, 59%, 29%)
HSVhsv(303, 74%, 47%)
CMYKcmyk(0%, 73.9%, 4.2%, 53.3%)
CIE-LABlab(29.71, 47.64, -27.84)
CIE-LCHlch(29.71, 55.18, 329.69°)
OKLaboklab(41.45% 0.1352 -0.0768)
OKLCHoklch(41.45% 0.155 330.4)
XYZxyz(11.1350, 6.1177, 16.5107)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F72 #1F7724
analogous
#501F77 #771F72 #771F46
triadic
#771F72 #72771F #1F7277
tetradic
#771F72 #77501F #1F7724 #1F4677
square
#771F72 #77501F #1F7724 #1F4677
split-complementary
#771F72 #46771F #1F7750
monochromatic
#180617 #461243 #771F72 #A82CA1 #CE43C6

Accessibility & contrast

On white

9.44
#771F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#771F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F72
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F72#FFFFFF#000000##FFFFFF
##771F721.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E74
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#7C2A46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771f72;
/* rgb */ color: rgb(119, 31, 114);
/* oklch */ color: oklch(41.4% 0.155 330.4);
Tailwind
colors: {
  custom: {
    50: '#a1649b',
    500: '#771f72',
    950: '#000000',
  },
}
SCSS
$custom: #771f72;
$custom-light: #a1649b;
$custom-dark: #000000;
JSON
{
  "hex": "#771f72",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 303.409,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41449,
    "c": 0.15549,
    "h": 330.4
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#771F72
secondary
#47AB4D
accent
#E24F46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771F72

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

Preview Lab → · Contrast checker → · Palette generator →

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