#771B79#771B79

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

Color values

HEX#771B79
RGBrgb(119, 27, 121)
HSLhsl(299, 64%, 29%)
HSVhsv(299, 78%, 47%)
CMYKcmyk(1.7%, 77.7%, 0%, 52.5%)
CIE-LABlab(29.63, 50.26, -32.41)
CIE-LCHlch(29.63, 59.80, 327.18°)
OKLaboklab(41.53% 0.1392 -0.09)
OKLCHoklch(41.53% 0.166 327.1)
XYZxyz(11.4507, 6.0871, 18.6573)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B79 #1D791B
analogous
#481B79 #771B79 #791B4C
triadic
#771B79 #79771B #1B7977
tetradic
#771B79 #79481B #1D791B #1B4C79
square
#771B79 #79481B #1D791B #1B4C79
split-complementary
#771B79 #4C791B #1B7948
monochromatic
#190619 #461047 #771B79 #A826AB #D03BD3

Accessibility & contrast

On white

9.47
#771B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#771B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B79
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B79#FFFFFF#000000##FFFFFF
##771B791.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7C
Deuteranopia (green-blind)
#334A77
Tritanopia (blue-blind)
#7B2B49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771b79;
/* rgb */ color: rgb(119, 27, 121);
/* oklch */ color: oklch(41.5% 0.166 327.1);
Tailwind
colors: {
  custom: {
    50: '#a263a0',
    500: '#771b79',
    950: '#000000',
  },
}
SCSS
$custom: #771b79;
$custom-light: #a263a0;
$custom-dark: #000000;
JSON
{
  "hex": "#771b79",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 298.723,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.16578,
    "h": 327.1
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#771B79
secondary
#45AD43
accent
#E74145
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #771B79

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

Preview Lab → · Contrast checker → · Palette generator →

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