#771B81#771B81

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

Color values

HEX#771B81
RGBrgb(119, 27, 129)
HSLhsl(294, 65%, 31%)
HSVhsv(294, 79%, 51%)
CMYKcmyk(7.8%, 79.1%, 0%, 49.4%)
CIE-LABlab(30.14, 51.70, -36.64)
CIE-LCHlch(30.14, 63.37, 324.67°)
OKLaboklab(42.05% 0.1388 -0.1023)
OKLCHoklch(42.05% 0.172 323.6)
XYZxyz(11.9618, 6.2915, 21.3490)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B81 #25811B
analogous
#441B81 #771B81 #811B58
triadic
#771B81 #81771B #1B8177
tetradic
#771B81 #81441B #25811B #1B5881
square
#771B81 #81441B #25811B #1B5881
split-complementary
#771B81 #58811B #1B8144
monochromatic
#1A061C #48104E #771B81 #A626B4 #C83FD7

Accessibility & contrast

On white

9.30
#771B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771B81
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B81#FFFFFF#000000##FFFFFF
##771B811.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771b81;
/* rgb */ color: rgb(119, 27, 129);
/* oklch */ color: oklch(42.0% 0.172 323.6);
Tailwind
colors: {
  custom: {
    50: '#a263a6',
    500: '#771b81',
    950: '#000000',
  },
}
SCSS
$custom: #771b81;
$custom-light: #a263a6;
$custom-dark: #000000;
JSON
{
  "hex": "#771b81",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 294.118,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4205,
    "c": 0.17244,
    "h": 323.6
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#771B81
secondary
#4EB543
accent
#E83F50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771B81

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

Preview Lab → · Contrast checker → · Palette generator →

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