#771B9A#771B9A

#771B9A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.8% C 0.194 H 314.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#771B9A
RGBrgb(119, 27, 154)
HSLhsl(283, 70%, 35%)
HSVhsv(283, 82%, 60%)
CMYKcmyk(22.7%, 82.5%, 0%, 39.6%)
CIE-LABlab(31.90, 56.54, -49.27)
CIE-LCHlch(31.90, 75.00, 318.93°)
OKLaboklab(43.85% 0.135 -0.1393)
OKLCHoklch(43.85% 0.194 314.1)
XYZxyz(13.8314, 7.0394, 31.1957)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B9A #3E9A1B
analogous
#381B9A #771B9A #9A1B7D
triadic
#771B9A #9A771B #1B9A77
tetradic
#771B9A #9A381B #3E9A1B #1B7D9A
square
#771B9A #9A381B #3E9A1B #1B7D9A
split-complementary
#771B9A #7D9A1B #1B9A38
monochromatic
#270932 #4F1266 #771B9A #9F24CE #B84FE0

Accessibility & contrast

On white

8.72
#771B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#771B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B9A
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B9A#FFFFFF#000000##FFFFFF
##771B9A1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#0C4D97
Tritanopia (blue-blind)
#733B5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771b9a;
/* rgb */ color: rgb(119, 27, 154);
/* oklch */ color: oklch(43.8% 0.194 314.1);
Tailwind
colors: {
  custom: {
    50: '#a364b9',
    500: '#771b9a',
    950: '#000000',
  },
}
SCSS
$custom: #771b9a;
$custom-light: #a364b9;
$custom-dark: #000000;
JSON
{
  "hex": "#771b9a",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 154
  },
  "hsl": {
    "h": 283.465,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43848,
    "c": 0.194,
    "h": 314.1
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#771B9A
secondary
#6EC34E
accent
#ED3B6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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