#771C81#771C81

#771C81 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.171 H 323.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#771C81
RGBrgb(119, 28, 129)
HSLhsl(294, 64%, 31%)
HSVhsv(294, 78%, 51%)
CMYKcmyk(7.8%, 78.3%, 0%, 49.4%)
CIE-LABlab(30.25, 51.37, -36.46)
CIE-LCHlch(30.25, 63.00, 324.64°)
OKLaboklab(42.13% 0.1379 -0.1018)
OKLCHoklch(42.13% 0.171 323.6)
XYZxyz(11.9851, 6.3382, 21.3567)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C81 #26811C
analogous
#441C81 #771C81 #811C58
triadic
#771C81 #81771C #1C8177
tetradic
#771C81 #81441C #26811C #1C5881
square
#771C81 #81441C #26811C #1C5881
split-complementary
#771C81 #58811C #1C8144
monochromatic
#1A061C #49114F #771C81 #A527B3 #C742D6

Accessibility & contrast

On white

9.26
#771C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771C81
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C81#FFFFFF#000000##FFFFFF
##771C811.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#2E4B7F
Tritanopia (blue-blind)
#792F4E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771c81;
/* rgb */ color: rgb(119, 28, 129);
/* oklch */ color: oklch(42.1% 0.171 323.6);
Tailwind
colors: {
  custom: {
    50: '#a263a6',
    500: '#771c81',
    950: '#000000',
  },
}
SCSS
$custom: #771c81;
$custom-light: #a263a6;
$custom-dark: #000000;
JSON
{
  "hex": "#771c81",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 294.059,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4213,
    "c": 0.1714,
    "h": 323.6
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

primary
#771C81
secondary
#4FB444
accent
#E74051
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771C81

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

Preview Lab → · Contrast checker → · Palette generator →

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