#771CA1#771CA1

#771CA1 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.5% C 0.199 H 311.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#771CA1
RGBrgb(119, 28, 161)
HSLhsl(281, 70%, 37%)
HSVhsv(281, 83%, 63%)
CMYKcmyk(26.1%, 82.6%, 0%, 36.9%)
CIE-LABlab(32.54, 57.67, -52.48)
CIE-LCHlch(32.54, 77.98, 317.70°)
OKLaboklab(44.47% 0.1326 -0.1488)
OKLCHoklch(44.47% 0.199 311.7)
XYZxyz(14.4548, 7.3261, 34.3639)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771CA1 #46A11C
analogous
#351CA1 #771CA1 #A11C88
triadic
#771CA1 #A1771C #1CA177
tetradic
#771CA1 #A1351C #46A11C #1C88A1
square
#771CA1 #A1351C #46A11C #1C88A1
split-complementary
#771CA1 #88A11C #1CA135
monochromatic
#2A0A39 #50136D #771CA1 #9E25D5 #B556E2

Accessibility & contrast

On white

8.52
#771CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#771CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771CA1
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771CA1#FFFFFF#000000##FFFFFF
##771CA11.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#723F60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #771ca1;
/* rgb */ color: rgb(119, 28, 161);
/* oklch */ color: oklch(44.5% 0.199 311.7);
Tailwind
colors: {
  custom: {
    50: '#a365be',
    500: '#771ca1',
    950: '#000000',
  },
}
SCSS
$custom: #771ca1;
$custom-light: #a365be;
$custom-dark: #000000;
JSON
{
  "hex": "#771ca1",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 281.053,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.19932,
    "h": 311.7
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#771CA1
secondary
#78C554
accent
#ED3B73
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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