#771A7A#771A7A

#771A7A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.168 H 326.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#771A7A
RGBrgb(119, 26, 122)
HSLhsl(298, 65%, 29%)
HSVhsv(298, 79%, 48%)
CMYKcmyk(2.5%, 78.7%, 0%, 52.2%)
CIE-LABlab(29.58, 50.76, -33.13)
CIE-LCHlch(29.58, 60.61, 326.87°)
OKLaboklab(41.51% 0.1401 -0.0921)
OKLCHoklch(41.51% 0.168 326.7)
XYZxyz(11.4898, 6.0667, 18.9744)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A7A #1D7A1A
analogous
#471A7A #771A7A #7A1A4D
triadic
#771A7A #7A771A #1A7A77
tetradic
#771A7A #7A471A #1D7A1A #1A4D7A
square
#771A7A #7A471A #1D7A1A #1A4D7A
split-complementary
#771A7A #4D7A1A #1A7A47
monochromatic
#190519 #460F48 #771A7A #A825AC #D039D5

Accessibility & contrast

On white

9.49
#771A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#771A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A7A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A7A#FFFFFF#000000##FFFFFF
##771A7A1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#324A78
Tritanopia (blue-blind)
#7A2B49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771a7a;
/* rgb */ color: rgb(119, 26, 122);
/* oklch */ color: oklch(41.5% 0.168 326.7);
Tailwind
colors: {
  custom: {
    50: '#a262a1',
    500: '#771a7a',
    950: '#000000',
  },
}
SCSS
$custom: #771a7a;
$custom-light: #a262a1;
$custom-dark: #000000;
JSON
{
  "hex": "#771a7a",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 298.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41511,
    "c": 0.16764,
    "h": 326.7
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#771A7A
secondary
#45AE41
accent
#E84045
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #771A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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