#771F80#771F80

#771F80 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.167 H 323.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#771F80
RGBrgb(119, 31, 128)
HSLhsl(294, 61%, 31%)
HSVhsv(294, 76%, 50%)
CMYKcmyk(7%, 75.8%, 0%, 49.8%)
CIE-LABlab(30.55, 50.15, -35.36)
CIE-LCHlch(30.55, 61.37, 324.81°)
OKLaboklab(42.32% 0.1351 -0.0986)
OKLCHoklch(42.32% 0.167 323.9)
XYZxyz(11.9937, 6.4612, 21.0333)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F80 #28801F
analogous
#461F80 #771F80 #801F58
triadic
#771F80 #80771F #1F8077
tetradic
#771F80 #80461F #28801F #1F5880
square
#771F80 #80461F #28801F #1F5880
split-complementary
#771F80 #58801F #1F8046
monochromatic
#1B071D #49134F #771F80 #A52BB1 #C547D2

Accessibility & contrast

On white

9.16
#771F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#771F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F80
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F80#FFFFFF#000000##FFFFFF
##771F801.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#314B7E
Tritanopia (blue-blind)
#79314E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771f80;
/* rgb */ color: rgb(119, 31, 128);
/* oklch */ color: oklch(42.3% 0.167 323.9);
Tailwind
colors: {
  custom: {
    50: '#a265a5',
    500: '#771f80',
    950: '#000000',
  },
}
SCSS
$custom: #771f80;
$custom-light: #a265a5;
$custom-dark: #000000;
JSON
{
  "hex": "#771f80",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 294.433,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42321,
    "c": 0.16728,
    "h": 323.9
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#771F80
secondary
#52B348
accent
#E44453
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771F80

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

Preview Lab → · Contrast checker → · Palette generator →

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