#771B88#771B88

#771B88 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.178 H 320.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#771B88
RGBrgb(119, 27, 136)
HSLhsl(291, 67%, 32%)
HSVhsv(291, 80%, 53%)
CMYKcmyk(12.5%, 80.1%, 0%, 46.7%)
CIE-LABlab(30.60, 53.01, -40.27)
CIE-LCHlch(30.60, 66.57, 322.78°)
OKLaboklab(42.53% 0.1381 -0.1129)
OKLCHoklch(42.53% 0.178 320.7)
XYZxyz(12.4431, 6.4841, 23.8839)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B88 #2C881B
analogous
#411B88 #771B88 #881B63
triadic
#771B88 #88771B #1B8877
tetradic
#771B88 #88411B #2C881B #1B6388
square
#771B88 #88411B #2C881B #1B6388
split-complementary
#771B88 #63881B #1B8841
monochromatic
#1E0722 #4A1155 #771B88 #A425BB #C244DA

Accessibility & contrast

On white

9.14
#771B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#771B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B88
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B88#FFFFFF#000000##FFFFFF
##771B881.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#284B86
Tritanopia (blue-blind)
#783251
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771b88;
/* rgb */ color: rgb(119, 27, 136);
/* oklch */ color: oklch(42.5% 0.178 320.7);
Tailwind
colors: {
  custom: {
    50: '#a263ab',
    500: '#771b88',
    950: '#000000',
  },
}
SCSS
$custom: #771b88;
$custom-light: #a263ab;
$custom-dark: #000000;
JSON
{
  "hex": "#771b88",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 290.642,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42528,
    "c": 0.17838,
    "h": 320.7
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

primary
#771B88
secondary
#56BB44
accent
#EA3E59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771B88

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

Preview Lab → · Contrast checker → · Palette generator →

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