#771F88#771F88

#771F88 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.174 H 320.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#771F88
RGBrgb(119, 31, 136)
HSLhsl(290, 63%, 33%)
HSVhsv(290, 77%, 53%)
CMYKcmyk(12.5%, 77.2%, 0%, 46.7%)
CIE-LABlab(31.07, 51.67, -39.52)
CIE-LCHlch(31.07, 65.05, 322.59°)
OKLaboklab(42.86% 0.1345 -0.1108)
OKLCHoklch(42.86% 0.174 320.5)
XYZxyz(12.5411, 6.6801, 23.9166)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F88 #30881F
analogous
#431F88 #771F88 #881F64
triadic
#771F88 #88771F #1F8877
tetradic
#771F88 #88431F #30881F #1F6488
square
#771F88 #88431F #30881F #1F6488
split-complementary
#771F88 #64881F #1F8843
monochromatic
#200824 #4B1456 #771F88 #A32ABA #C04BD6

Accessibility & contrast

On white

8.99
#771F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#771F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F88
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F88#FFFFFF#000000##FFFFFF
##771F881.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#2A4C86
Tritanopia (blue-blind)
#783452
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771f88;
/* rgb */ color: rgb(119, 31, 136);
/* oklch */ color: oklch(42.9% 0.174 320.5);
Tailwind
colors: {
  custom: {
    50: '#a265ab',
    500: '#771f88',
    950: '#000000',
  },
}
SCSS
$custom: #771f88;
$custom-light: #a265ab;
$custom-dark: #000000;
JSON
{
  "hex": "#771f88",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 290.286,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42858,
    "c": 0.17426,
    "h": 320.5
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#771F88
secondary
#5CB94A
accent
#E6425C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771F88

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

Preview Lab → · Contrast checker → · Palette generator →

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