#771B84#771B84

#771B84 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.175 H 322.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#771B84
RGBrgb(119, 27, 132)
HSLhsl(293, 66%, 31%)
HSVhsv(293, 80%, 52%)
CMYKcmyk(9.8%, 79.5%, 0%, 48.2%)
CIE-LABlab(30.33, 52.26, -38.21)
CIE-LCHlch(30.33, 64.74, 323.83°)
OKLaboklab(42.25% 0.1385 -0.1069)
OKLCHoklch(42.25% 0.175 322.3)
XYZxyz(12.1641, 6.3725, 22.4146)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B84 #28841B
analogous
#421B84 #771B84 #841B5C
triadic
#771B84 #84771B #1B8477
tetradic
#771B84 #84421B #28841B #1B5C84
square
#771B84 #84421B #28841B #1B5C84
split-complementary
#771B84 #5C841B #1B8442
monochromatic
#1B061E #491151 #771B84 #A525B7 #C541D8

Accessibility & contrast

On white

9.23
#771B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#771B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B84
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B84#FFFFFF#000000##FFFFFF
##771B841.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#2B4B82
Tritanopia (blue-blind)
#79304F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771b84;
/* rgb */ color: rgb(119, 27, 132);
/* oklch */ color: oklch(42.3% 0.175 322.3);
Tailwind
colors: {
  custom: {
    50: '#a263a8',
    500: '#771b84',
    950: '#000000',
  },
}
SCSS
$custom: #771b84;
$custom-light: #a263a8;
$custom-dark: #000000;
JSON
{
  "hex": "#771b84",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 292.571,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42252,
    "c": 0.17496,
    "h": 322.3
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#771B84
secondary
#52B743
accent
#E93F54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771B84

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

Preview Lab → · Contrast checker → · Palette generator →

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