#771B71#771B71

#771B71 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.159 H 330.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#771B71
RGBrgb(119, 27, 113)
HSLhsl(304, 63%, 29%)
HSVhsv(304, 77%, 47%)
CMYKcmyk(0%, 77.3%, 5%, 53.3%)
CIE-LABlab(29.16, 48.88, -28.08)
CIE-LCHlch(29.16, 56.37, 330.12°)
OKLaboklab(41.04% 0.1393 -0.0774)
OKLCHoklch(41.04% 0.159 330.9)
XYZxyz(10.9803, 5.8989, 16.1799)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B71 #1B7721
analogous
#4F1B77 #771B71 #771B43
triadic
#771B71 #71771B #1B7177
tetradic
#771B71 #774F1B #1B7721 #1B4377
square
#771B71 #774F1B #1B7721 #1B4377
split-complementary
#771B71 #43771B #1B774F
monochromatic
#190618 #451042 #771B71 #A926A0 #D23AC8

Accessibility & contrast

On white

9.63
#771B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#771B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B71
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B71#FFFFFF#000000##FFFFFF
##771B711.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113D73
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#7C2744
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771b71;
/* rgb */ color: rgb(119, 27, 113);
/* oklch */ color: oklch(41.0% 0.159 330.9);
Tailwind
colors: {
  custom: {
    50: '#a1629a',
    500: '#771b71',
    950: '#000000',
  },
}
SCSS
$custom: #771b71;
$custom-light: #a1629a;
$custom-dark: #000000;
JSON
{
  "hex": "#771b71",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 303.913,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41035,
    "c": 0.15932,
    "h": 330.9
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#771B71
secondary
#42AB49
accent
#E64C42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771B71

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

Preview Lab → · Contrast checker → · Palette generator →

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