#771A85#771A85

#771A85 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.177 H 322.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#771A85
RGBrgb(119, 26, 133)
HSLhsl(292, 67%, 31%)
HSVhsv(292, 80%, 52%)
CMYKcmyk(10.5%, 80.5%, 0%, 47.8%)
CIE-LABlab(30.29, 52.76, -38.90)
CIE-LCHlch(30.29, 65.55, 323.60°)
OKLaboklab(42.24% 0.1393 -0.1089)
OKLCHoklch(42.24% 0.177 322)
XYZxyz(12.2103, 6.3549, 22.7692)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A85 #28851A
analogous
#411A85 #771A85 #851A5D
triadic
#771A85 #85771A #1A8577
tetradic
#771A85 #85411A #28851A #1A5D85
square
#771A85 #85411A #28851A #1A5D85
split-complementary
#771A85 #5D851A #1A8541
monochromatic
#1B061F #491052 #771A85 #A524B8 #C540DA

Accessibility & contrast

On white

9.25
#771A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#771A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A85
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A85#FFFFFF#000000##FFFFFF
##771A851.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#2A4B83
Tritanopia (blue-blind)
#783050
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771a85;
/* rgb */ color: rgb(119, 26, 133);
/* oklch */ color: oklch(42.2% 0.177 322.0);
Tailwind
colors: {
  custom: {
    50: '#a263a9',
    500: '#771a85',
    950: '#000000',
  },
}
SCSS
$custom: #771a85;
$custom-light: #a263a9;
$custom-dark: #000000;
JSON
{
  "hex": "#771a85",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 292.15,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42243,
    "c": 0.1768,
    "h": 322
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#771A85
secondary
#52B842
accent
#EA3E54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771A85

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

Preview Lab → · Contrast checker → · Palette generator →

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