#771BA0#771BA0

#771BA0 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.3% C 0.199 H 312.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#771BA0
RGBrgb(119, 27, 160)
HSLhsl(282, 71%, 37%)
HSVhsv(282, 83%, 63%)
CMYKcmyk(25.6%, 83.1%, 0%, 37.3%)
CIE-LABlab(32.36, 57.77, -52.17)
CIE-LCHlch(32.36, 77.84, 317.91°)
OKLaboklab(44.31% 0.1336 -0.1479)
OKLCHoklch(44.31% 0.199 312.1)
XYZxyz(14.3437, 7.2443, 33.8936)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771BA0 #44A01B
analogous
#351BA0 #771BA0 #A01B87
triadic
#771BA0 #A0771B #1BA077
tetradic
#771BA0 #A0351B #44A01B #1B87A0
square
#771BA0 #A0351B #44A01B #1B87A0
split-complementary
#771BA0 #87A01B #1BA035
monochromatic
#290937 #50126C #771BA0 #9E24D4 #B653E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771BA0#FFFFFF#000000##FFFFFF
##771BA01.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)
#0048A3
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#723E5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771ba0;
/* rgb */ color: rgb(119, 27, 160);
/* oklch */ color: oklch(44.3% 0.199 312.1);
Tailwind
colors: {
  custom: {
    50: '#a365bd',
    500: '#771ba0',
    950: '#000000',
  },
}
SCSS
$custom: #771ba0;
$custom-light: #a365bd;
$custom-dark: #000000;
JSON
{
  "hex": "#771ba0",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 281.504,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44314,
    "c": 0.19928,
    "h": 312.1
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#771BA0
secondary
#75C552
accent
#EE3A71
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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