#771B9E#771B9E

#771B9E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.198 H 312.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#771B9E
RGBrgb(119, 27, 158)
HSLhsl(282, 71%, 36%)
HSVhsv(282, 83%, 62%)
CMYKcmyk(24.7%, 82.9%, 0%, 38%)
CIE-LABlab(32.20, 57.36, -51.21)
CIE-LCHlch(32.20, 76.89, 318.24°)
OKLaboklab(44.16% 0.1341 -0.1451)
OKLCHoklch(44.16% 0.198 312.7)
XYZxyz(14.1701, 7.1749, 32.9796)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B9E #429E1B
analogous
#351B9E #771B9E #9E1B84
triadic
#771B9E #9E771B #1B9E77
tetradic
#771B9E #9E351B #429E1B #1B849E
square
#771B9E #9E351B #429E1B #1B849E
split-complementary
#771B9E #849E1B #1B9E35
monochromatic
#280935 #50126A #771B9E #9E24D2 #B752E1

Accessibility & contrast

On white

8.62
#771B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#771B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B9E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B9E#FFFFFF#000000##FFFFFF
##771B9E1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#004E9B
Tritanopia (blue-blind)
#723D5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771b9e;
/* rgb */ color: rgb(119, 27, 158);
/* oklch */ color: oklch(44.2% 0.198 312.7);
Tailwind
colors: {
  custom: {
    50: '#a365bb',
    500: '#771b9e',
    950: '#000000',
  },
}
SCSS
$custom: #771b9e;
$custom-light: #a365bb;
$custom-dark: #000000;
JSON
{
  "hex": "#771b9e",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 282.137,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44157,
    "c": 0.19751,
    "h": 312.7
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#771B9E
secondary
#73C451
accent
#EE3A70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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