#771F9A#771F9A

#771F9A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.190 H 313.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#771F9A
RGBrgb(119, 31, 154)
HSLhsl(283, 66%, 36%)
HSVhsv(283, 80%, 60%)
CMYKcmyk(22.7%, 79.9%, 0%, 39.6%)
CIE-LABlab(32.34, 55.26, -48.55)
CIE-LCHlch(32.34, 73.56, 318.70°)
OKLaboklab(44.16% 0.1318 -0.1373)
OKLCHoklch(44.16% 0.19 313.8)
XYZxyz(13.9295, 7.2355, 31.2284)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F9A #429A1F
analogous
#3A1F9A #771F9A #9A1F80
triadic
#771F9A #9A771F #1F9A77
tetradic
#771F9A #9A3A1F #429A1F #1F809A
square
#771F9A #9A3A1F #429A1F #1F809A
split-complementary
#771F9A #809A1F #1F9A3A
monochromatic
#280A34 #501567 #771F9A #9E29CD #B756DD

Accessibility & contrast

On white

8.58
#771F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#771F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F9A
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F9A#FFFFFF#000000##FFFFFF
##771F9A1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#124E97
Tritanopia (blue-blind)
#733D5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771f9a;
/* rgb */ color: rgb(119, 31, 154);
/* oklch */ color: oklch(44.2% 0.190 313.8);
Tailwind
colors: {
  custom: {
    50: '#a366b8',
    500: '#771f9a',
    950: '#000000',
  },
}
SCSS
$custom: #771f9a;
$custom-light: #a366b8;
$custom-dark: #000000;
JSON
{
  "hex": "#771f9a",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 282.927,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44157,
    "c": 0.19031,
    "h": 313.8
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#771F9A
secondary
#73C154
accent
#E93E6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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