#771F7A#771F7A

#771F7A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.162 H 326.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#771F7A
RGBrgb(119, 31, 122)
HSLhsl(298, 59%, 30%)
HSVhsv(298, 75%, 48%)
CMYKcmyk(2.5%, 74.6%, 0%, 52.2%)
CIE-LABlab(30.18, 49.05, -32.18)
CIE-LCHlch(30.18, 58.66, 326.74°)
OKLaboklab(41.94% 0.1353 -0.0893)
OKLCHoklch(41.94% 0.162 326.6)
XYZxyz(11.6104, 6.3078, 19.0146)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F7A #227A1F
analogous
#4A1F7A #771F7A #7A1F4F
triadic
#771F7A #7A771F #1F7A77
tetradic
#771F7A #7A4A1F #227A1F #1F4F7A
square
#771F7A #7A4A1F #227A1F #1F4F7A
split-complementary
#771F7A #4F7A1F #1F7A4A
monochromatic
#180618 #471349 #771F7A #A72BAB #CB44CF

Accessibility & contrast

On white

9.29
#771F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#771F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F7A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F7A#FFFFFF#000000##FFFFFF
##771F7A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09407D
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#7A2E4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771f7a;
/* rgb */ color: rgb(119, 31, 122);
/* oklch */ color: oklch(41.9% 0.162 326.6);
Tailwind
colors: {
  custom: {
    50: '#a164a1',
    500: '#771f7a',
    950: '#000000',
  },
}
SCSS
$custom: #771f7a;
$custom-light: #a164a1;
$custom-dark: #000000;
JSON
{
  "hex": "#771f7a",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 298.022,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.41937,
    "c": 0.16215,
    "h": 326.6
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#771F7A
secondary
#4BAD47
accent
#E3454A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #771F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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