#771B7A#771B7A

#771B7A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.167 H 326.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#771B7A
RGBrgb(119, 27, 122)
HSLhsl(298, 64%, 29%)
HSVhsv(298, 78%, 48%)
CMYKcmyk(2.5%, 77.9%, 0%, 52.2%)
CIE-LABlab(29.69, 50.44, -32.95)
CIE-LCHlch(29.69, 60.24, 326.85°)
OKLaboklab(41.59% 0.1392 -0.0915)
OKLCHoklch(41.59% 0.167 326.7)
XYZxyz(11.5123, 6.1118, 18.9819)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B7A #1E7A1B
analogous
#481B7A #771B7A #7A1B4E
triadic
#771B7A #7A771B #1B7A77
tetradic
#771B7A #7A481B #1E7A1B #1B4E7A
square
#771B7A #7A481B #1E7A1B #1B4E7A
split-complementary
#771B7A #4E7A1B #1B7A48
monochromatic
#180619 #461048 #771B7A #A826AC #CF3CD4

Accessibility & contrast

On white

9.45
#771B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771B7A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B7A#FFFFFF#000000##FFFFFF
##771B7A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#7A2B4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771b7a;
/* rgb */ color: rgb(119, 27, 122);
/* oklch */ color: oklch(41.6% 0.167 326.7);
Tailwind
colors: {
  custom: {
    50: '#a263a1',
    500: '#771b7a',
    950: '#000000',
  },
}
SCSS
$custom: #771b7a;
$custom-light: #a263a1;
$custom-dark: #000000;
JSON
{
  "hex": "#771b7a",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 298.105,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41592,
    "c": 0.1666,
    "h": 326.7
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#771B7A
secondary
#46AE43
accent
#E74146
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #771B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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