#771DA1#771DA1

#771DA1 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.198 H 311.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#771DA1
RGBrgb(119, 29, 161)
HSLhsl(281, 69%, 37%)
HSVhsv(281, 82%, 63%)
CMYKcmyk(26.1%, 82%, 0%, 36.9%)
CIE-LABlab(32.64, 57.36, -52.31)
CIE-LCHlch(32.64, 77.63, 317.64°)
OKLaboklab(44.54% 0.1319 -0.1483)
OKLCHoklch(44.54% 0.198 311.6)
XYZxyz(14.4789, 7.3743, 34.3720)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771DA1 #47A11D
analogous
#351DA1 #771DA1 #A11D89
triadic
#771DA1 #A1771D #1DA177
tetradic
#771DA1 #A1351D #47A11D #1D89A1
square
#771DA1 #A1351D #47A11D #1D89A1
split-complementary
#771DA1 #89A11D #1DA135
monochromatic
#2A0A39 #51146D #771DA1 #9D26D5 #B558E1

Accessibility & contrast

On white

8.49
#771DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#771DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771DA1
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771DA1#FFFFFF#000000##FFFFFF
##771DA11.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#723F60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #771da1;
/* rgb */ color: rgb(119, 29, 161);
/* oklch */ color: oklch(44.5% 0.198 311.6);
Tailwind
colors: {
  custom: {
    50: '#a366be',
    500: '#771da1',
    950: '#000000',
  },
}
SCSS
$custom: #771da1;
$custom-light: #a366be;
$custom-dark: #000000;
JSON
{
  "hex": "#771da1",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 280.909,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.19845,
    "h": 311.6
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#771DA1
secondary
#79C455
accent
#EC3C74
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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