#771F91#771F91

#771F91 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.182 H 317.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#771F91
RGBrgb(119, 31, 145)
HSLhsl(286, 65%, 35%)
HSVhsv(286, 79%, 57%)
CMYKcmyk(17.9%, 78.6%, 0%, 43.1%)
CIE-LABlab(31.69, 53.44, -44.09)
CIE-LCHlch(31.69, 69.28, 320.47°)
OKLaboklab(43.49% 0.1334 -0.1242)
OKLCHoklch(43.49% 0.182 317)
XYZxyz(13.2078, 6.9468, 27.4277)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F91 #39911F
analogous
#3E1F91 #771F91 #911F72
triadic
#771F91 #91771F #1F9177
tetradic
#771F91 #913E1F #39911F #1F7291
square
#771F91 #913E1F #39911F #1F7291
split-complementary
#771F91 #72911F #1F913E
monochromatic
#24092C #4E145F #771F91 #A02AC3 #BA51DA

Accessibility & contrast

On white

8.79
#771F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#771F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F91
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F91#FFFFFF#000000##FFFFFF
##771F911.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#214D8F
Tritanopia (blue-blind)
#763857
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771f91;
/* rgb */ color: rgb(119, 31, 145);
/* oklch */ color: oklch(43.5% 0.182 317.0);
Tailwind
colors: {
  custom: {
    50: '#a265b2',
    500: '#771f91',
    950: '#000000',
  },
}
SCSS
$custom: #771f91;
$custom-light: #a265b2;
$custom-dark: #000000;
JSON
{
  "hex": "#771f91",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 286.316,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43492,
    "c": 0.18223,
    "h": 317
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#771F91
secondary
#68BD4F
accent
#E84066
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #771F91

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

Preview Lab → · Contrast checker → · Palette generator →

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