#771F9C#771F9C

#771F9C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.192 H 313.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#771F9C
RGBrgb(119, 31, 156)
HSLhsl(282, 67%, 37%)
HSVhsv(282, 80%, 61%)
CMYKcmyk(23.7%, 80.1%, 0%, 38.8%)
CIE-LABlab(32.49, 55.68, -49.53)
CIE-LCHlch(32.49, 74.52, 318.34°)
OKLaboklab(44.31% 0.1314 -0.1401)
OKLCHoklch(44.31% 0.192 313.2)
XYZxyz(14.0974, 7.3027, 32.1130)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F9C #449C1F
analogous
#391F9C #771F9C #9C1F83
triadic
#771F9C #9C771F #1F9C77
tetradic
#771F9C #9C391F #449C1F #1F839C
square
#771F9C #9C391F #449C1F #1F839C
split-complementary
#771F9C #839C1F #1F9C39
monochromatic
#290B36 #501569 #771F9C #9E29CF #B658DE

Accessibility & contrast

On white

8.54
#771F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#771F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F9C
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F9C#FFFFFF#000000##FFFFFF
##771F9C1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#0C4E99
Tritanopia (blue-blind)
#733D5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771f9c;
/* rgb */ color: rgb(119, 31, 156);
/* oklch */ color: oklch(44.3% 0.192 313.2);
Tailwind
colors: {
  custom: {
    50: '#a366ba',
    500: '#771f9c',
    950: '#000000',
  },
}
SCSS
$custom: #771f9c;
$custom-light: #a366ba;
$custom-dark: #000000;
JSON
{
  "hex": "#771f9c",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 282.24,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.19212,
    "h": 313.2
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#771F9C
secondary
#75C155
accent
#EA3E71
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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