#771F84#771F84

#771F84 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.171 H 322.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#771F84
RGBrgb(119, 31, 132)
HSLhsl(292, 62%, 32%)
HSVhsv(292, 77%, 52%)
CMYKcmyk(9.8%, 76.5%, 0%, 48.2%)
CIE-LABlab(30.80, 50.91, -37.45)
CIE-LCHlch(30.80, 63.20, 323.66°)
OKLaboklab(42.59% 0.1349 -0.1047)
OKLCHoklch(42.59% 0.171 322.2)
XYZxyz(12.2622, 6.5686, 22.4473)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F84 #2C841F
analogous
#451F84 #771F84 #841F5F
triadic
#771F84 #84771F #1F8477
tetradic
#771F84 #84451F #2C841F #1F5F84
square
#771F84 #84451F #2C841F #1F5F84
split-complementary
#771F84 #5F841F #1F8445
monochromatic
#1E0821 #4A1352 #771F84 #A42BB6 #C249D4

Accessibility & contrast

On white

9.08
#771F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#771F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F84
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F84#FFFFFF#000000##FFFFFF
##771F841.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#2E4C82
Tritanopia (blue-blind)
#783250
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771f84;
/* rgb */ color: rgb(119, 31, 132);
/* oklch */ color: oklch(42.6% 0.171 322.2);
Tailwind
colors: {
  custom: {
    50: '#a265a8',
    500: '#771f84',
    950: '#000000',
  },
}
SCSS
$custom: #771f84;
$custom-light: #a265a8;
$custom-dark: #000000;
JSON
{
  "hex": "#771f84",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 292.277,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42586,
    "c": 0.17075,
    "h": 322.2
  },
  "luminance": 0.06568
}

Semantic roles & 50–950 ramp

primary
#771F84
secondary
#56B748
accent
#E54358
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771F84

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

Preview Lab → · Contrast checker → · Palette generator →

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