#771C6B#771C6B

#771C6B is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.153 H 334.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#771C6B
RGBrgb(119, 28, 107)
HSLhsl(308, 62%, 29%)
HSVhsv(308, 76%, 47%)
CMYKcmyk(0%, 76.5%, 10.1%, 53.3%)
CIE-LABlab(28.94, 47.54, -24.57)
CIE-LCHlch(28.94, 53.52, 332.67°)
OKLaboklab(40.77% 0.138 -0.0673)
OKLCHoklch(40.77% 0.153 334)
XYZxyz(10.6769, 5.8149, 14.4671)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C6B #1C7728
analogous
#561C77 #771C6B #771C3E
triadic
#771C6B #6B771C #1C6B77
tetradic
#771C6B #77561C #1C7728 #1C3E77
square
#771C6B #77561C #1C7728 #1C3E77
split-complementary
#771C6B #3E771C #1C7756
monochromatic
#190616 #45103E #771C6B #A92898 #D13CBE

Accessibility & contrast

On white

9.71
#771C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#771C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C6B
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C6B#FFFFFF#000000##FFFFFF
##771C6B1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#3B4969
Tritanopia (blue-blind)
#7D2441
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771c6b;
/* rgb */ color: rgb(119, 28, 107);
/* oklch */ color: oklch(40.8% 0.153 334.0);
Tailwind
colors: {
  custom: {
    50: '#a16395',
    500: '#771c6b',
    950: '#000000',
  },
}
SCSS
$custom: #771c6b;
$custom-light: #a16395;
$custom-dark: #000000;
JSON
{
  "hex": "#771c6b",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 107
  },
  "hsl": {
    "h": 307.912,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.15349,
    "h": 334
  },
  "luminance": 0.05814
}

Semantic roles & 50–950 ramp

primary
#771C6B
secondary
#44AB51
accent
#E55843
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #771C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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