#771AA1#771AA1

#771AA1 is a dark, highly saturated purple. Relative luminance 0.072; OKLCH L 44.3% C 0.201 H 311.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#771AA1
RGBrgb(119, 26, 161)
HSLhsl(281, 72%, 37%)
HSVhsv(281, 84%, 63%)
CMYKcmyk(26.1%, 83.9%, 0%, 36.9%)
CIE-LABlab(32.33, 58.27, -52.81)
CIE-LCHlch(32.33, 78.64, 317.81°)
OKLaboklab(44.32% 0.134 -0.1498)
OKLCHoklch(44.32% 0.201 311.8)
XYZxyz(14.4090, 7.2343, 34.3486)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771AA1 #44A11A
analogous
#331AA1 #771AA1 #A11A88
triadic
#771AA1 #A1771A #1AA177
tetradic
#771AA1 #A1331A #44A11A #1A88A1
square
#771AA1 #A1331A #44A11A #1A88A1
split-complementary
#771AA1 #88A11A #1AA133
monochromatic
#290938 #50116C #771AA1 #9E23D6 #B652E3

Accessibility & contrast

On white

8.58
#771AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#771AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771AA1
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771AA1#FFFFFF#000000##FFFFFF
##771AA11.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#723E60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771aa1;
/* rgb */ color: rgb(119, 26, 161);
/* oklch */ color: oklch(44.3% 0.201 311.8);
Tailwind
colors: {
  custom: {
    50: '#a364be',
    500: '#771aa1',
    950: '#000000',
  },
}
SCSS
$custom: #771aa1;
$custom-light: #a364be;
$custom-dark: #000000;
JSON
{
  "hex": "#771aa1",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 281.333,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44323,
    "c": 0.20098,
    "h": 311.8
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#771AA1
secondary
#75C651
accent
#EF3972
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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