#771A72#771A72

#771A72 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.161 H 330.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#771A72
RGBrgb(119, 26, 114)
HSLhsl(303, 64%, 28%)
HSVhsv(303, 78%, 47%)
CMYKcmyk(0%, 78.2%, 4.2%, 53.3%)
CIE-LABlab(29.10, 49.38, -28.81)
CIE-LCHlch(29.10, 57.17, 329.74°)
OKLaboklab(41.01% 0.1402 -0.0795)
OKLCHoklch(41.01% 0.161 330.4)
XYZxyz(11.0144, 5.8765, 16.4705)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A72 #1A771F
analogous
#4D1A77 #771A72 #771A43
triadic
#771A72 #72771A #1A7277
tetradic
#771A72 #774D1A #1A771F #1A4377
square
#771A72 #774D1A #1A771F #1A4377
split-complementary
#771A72 #43771A #1A774D
monochromatic
#190518 #450F42 #771A72 #A925A2 #D338CB

Accessibility & contrast

On white

9.65
#771A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#771A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A72
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A72#FFFFFF#000000##FFFFFF
##771A721.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3D74
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#7C2745
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771a72;
/* rgb */ color: rgb(119, 26, 114);
/* oklch */ color: oklch(41.0% 0.161 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2629b',
    500: '#771a72',
    950: '#000000',
  },
}
SCSS
$custom: #771a72;
$custom-light: #a2629b;
$custom-dark: #000000;
JSON
{
  "hex": "#771a72",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 303.226,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41013,
    "c": 0.1612,
    "h": 330.4
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#771A72
secondary
#41AC47
accent
#E74A41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771A72

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

Preview Lab → · Contrast checker → · Palette generator →

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