#771B78#771B78

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

Color values

HEX#771B78
RGBrgb(119, 27, 120)
HSLhsl(299, 63%, 29%)
HSVhsv(299, 78%, 47%)
CMYKcmyk(0.8%, 77.5%, 0%, 52.9%)
CIE-LABlab(29.57, 50.08, -31.88)
CIE-LCHlch(29.57, 59.37, 327.53°)
OKLaboklab(41.47% 0.1393 -0.0884)
OKLCHoklch(41.47% 0.165 327.6)
XYZxyz(11.3897, 6.0627, 18.3360)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B78 #1C781B
analogous
#491B78 #771B78 #781B4B
triadic
#771B78 #78771B #1B7877
tetradic
#771B78 #78491B #1C781B #1B4B78
square
#771B78 #78491B #1C781B #1B4B78
split-complementary
#771B78 #4B781B #1B7849
monochromatic
#190619 #451046 #771B78 #A926AA #D13BD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771B78#FFFFFF#000000##FFFFFF
##771B781.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)
#043E7B
Deuteranopia (green-blind)
#344A76
Tritanopia (blue-blind)
#7B2A48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771b78;
/* rgb */ color: rgb(119, 27, 120);
/* oklch */ color: oklch(41.5% 0.165 327.6);
Tailwind
colors: {
  custom: {
    50: '#a2639f',
    500: '#771b78',
    950: '#000000',
  },
}
SCSS
$custom: #771b78;
$custom-light: #a2639f;
$custom-dark: #000000;
JSON
{
  "hex": "#771b78",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 299.355,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41465,
    "c": 0.16496,
    "h": 327.6
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#771B78
secondary
#44AC43
accent
#E64143
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771B78

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

Preview Lab → · Contrast checker → · Palette generator →

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