#771C9A#771C9A

#771C9A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.193 H 314.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#771C9A
RGBrgb(119, 28, 154)
HSLhsl(283, 69%, 36%)
HSVhsv(283, 82%, 60%)
CMYKcmyk(22.7%, 81.8%, 0%, 39.6%)
CIE-LABlab(32.00, 56.24, -49.10)
CIE-LCHlch(32.00, 74.65, 318.88°)
OKLaboklab(43.92% 0.1342 -0.1388)
OKLCHoklch(43.92% 0.193 314)
XYZxyz(13.8547, 7.0860, 31.2035)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C9A #3F9A1C
analogous
#381C9A #771C9A #9A1C7E
triadic
#771C9A #9A771C #1C9A77
tetradic
#771C9A #9A381C #3F9A1C #1C7E9A
square
#771C9A #9A381C #3F9A1C #1C7E9A
split-complementary
#771C9A #7E9A1C #1C9A38
monochromatic
#270932 #4F1366 #771C9A #9F25CE #B851DF

Accessibility & contrast

On white

8.69
#771C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#771C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C9A
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C9A#FFFFFF#000000##FFFFFF
##771C9A1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771c9a;
/* rgb */ color: rgb(119, 28, 154);
/* oklch */ color: oklch(43.9% 0.193 314.0);
Tailwind
colors: {
  custom: {
    50: '#a365b9',
    500: '#771c9a',
    950: '#000000',
  },
}
SCSS
$custom: #771c9a;
$custom-light: #a365b9;
$custom-dark: #000000;
JSON
{
  "hex": "#771c9a",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 283.333,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43922,
    "c": 0.19311,
    "h": 314
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

primary
#771C9A
secondary
#6FC250
accent
#EC3C6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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