#771BA1#771BA1

#771BA1 is a dark, highly saturated purple. Relative luminance 0.073; OKLCH L 44.4% C 0.200 H 311.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#771BA1
RGBrgb(119, 27, 161)
HSLhsl(281, 71%, 37%)
HSVhsv(281, 83%, 63%)
CMYKcmyk(26.1%, 83.2%, 0%, 36.9%)
CIE-LABlab(32.43, 57.97, -52.65)
CIE-LCHlch(32.43, 78.31, 317.75°)
OKLaboklab(44.39% 0.1333 -0.1493)
OKLCHoklch(44.39% 0.2 311.8)
XYZxyz(14.4315, 7.2794, 34.3561)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771BA1 #45A11B
analogous
#341BA1 #771BA1 #A11B88
triadic
#771BA1 #A1771B #1BA177
tetradic
#771BA1 #A1341B #45A11B #1B88A1
square
#771BA1 #A1341B #45A11B #1B88A1
split-complementary
#771BA1 #88A11B #1BA134
monochromatic
#2A0938 #50126D #771BA1 #9E24D5 #B654E2

Accessibility & contrast

On white

8.55
#771BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#771BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771BA1
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771BA1#FFFFFF#000000##FFFFFF
##771BA11.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.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: #771ba1;
/* rgb */ color: rgb(119, 27, 161);
/* oklch */ color: oklch(44.4% 0.200 311.8);
Tailwind
colors: {
  custom: {
    50: '#a365be',
    500: '#771ba1',
    950: '#000000',
  },
}
SCSS
$custom: #771ba1;
$custom-light: #a365be;
$custom-dark: #000000;
JSON
{
  "hex": "#771ba1",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 281.194,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44393,
    "c": 0.20016,
    "h": 311.8
  },
  "luminance": 0.07279
}

Semantic roles & 50–950 ramp

primary
#771BA1
secondary
#76C552
accent
#EE3A72
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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