#771E9A#771E9A

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

Color values

HEX#771E9A
RGBrgb(119, 30, 154)
HSLhsl(283, 67%, 36%)
HSVhsv(283, 81%, 60%)
CMYKcmyk(22.7%, 80.5%, 0%, 39.6%)
CIE-LABlab(32.22, 55.60, -48.74)
CIE-LCHlch(32.22, 73.94, 318.76°)
OKLaboklab(44.08% 0.1326 -0.1378)
OKLCHoklch(44.08% 0.191 313.9)
XYZxyz(13.9037, 7.1841, 31.2198)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E9A #419A1E
analogous
#391E9A #771E9A #9A1E7F
triadic
#771E9A #9A771E #1E9A77
tetradic
#771E9A #9A391E #419A1E #1E7F9A
square
#771E9A #9A391E #419A1E #1E7F9A
split-complementary
#771E9A #7F9A1E #1E9A39
monochromatic
#280A34 #4F1467 #771E9A #9F28CD #B755DE

Accessibility & contrast

On white

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

On black

2.44
#771E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##771E9A#FFFFFF#000000##FFFFFF
##771E9A1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#104E97
Tritanopia (blue-blind)
#733C5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771e9a;
/* rgb */ color: rgb(119, 30, 154);
/* oklch */ color: oklch(44.1% 0.191 313.9);
Tailwind
colors: {
  custom: {
    50: '#a366b8',
    500: '#771e9a',
    950: '#000000',
  },
}
SCSS
$custom: #771e9a;
$custom-light: #a366b8;
$custom-dark: #000000;
JSON
{
  "hex": "#771e9a",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 283.065,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44076,
    "c": 0.19127,
    "h": 313.9
  },
  "luminance": 0.07184
}

Semantic roles & 50–950 ramp

primary
#771E9A
secondary
#72C153
accent
#EA3E6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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