#771A80#771A80

#771A80 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.173 H 324.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#771A80
RGBrgb(119, 26, 128)
HSLhsl(295, 66%, 30%)
HSVhsv(295, 80%, 50%)
CMYKcmyk(7%, 79.7%, 0%, 49.8%)
CIE-LABlab(29.96, 51.84, -36.30)
CIE-LCHlch(29.96, 63.28, 325.00°)
OKLaboklab(41.9% 0.1397 -0.1013)
OKLCHoklch(41.9% 0.173 324.1)
XYZxyz(11.8731, 6.2200, 20.9931)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A80 #23801A
analogous
#441A80 #771A80 #801A56
triadic
#771A80 #80771A #1A8077
tetradic
#771A80 #80441A #23801A #1A5680
square
#771A80 #80441A #23801A #1A5680
split-complementary
#771A80 #56801A #1A8044
monochromatic
#18051A #48104D #771A80 #A624B3 #CA3DD8

Accessibility & contrast

On white

9.36
#771A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#771A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A80
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A80#FFFFFF#000000##FFFFFF
##771A801.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#2E4A7E
Tritanopia (blue-blind)
#792E4D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771a80;
/* rgb */ color: rgb(119, 26, 128);
/* oklch */ color: oklch(41.9% 0.173 324.1);
Tailwind
colors: {
  custom: {
    50: '#a263a5',
    500: '#771a80',
    950: '#000000',
  },
}
SCSS
$custom: #771a80;
$custom-light: #a263a5;
$custom-dark: #000000;
JSON
{
  "hex": "#771a80",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 294.706,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.17261,
    "h": 324.1
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#771A80
secondary
#4CB442
accent
#E93F4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771A80

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

Preview Lab → · Contrast checker → · Palette generator →

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