#771C6E#771C6E

#771C6E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.156 H 332.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#771C6E
RGBrgb(119, 28, 110)
HSLhsl(306, 62%, 29%)
HSVhsv(306, 76%, 47%)
CMYKcmyk(0%, 76.5%, 7.6%, 53.3%)
CIE-LABlab(29.11, 48.04, -26.24)
CIE-LCHlch(29.11, 54.74, 331.36°)
OKLaboklab(40.94% 0.1381 -0.0721)
OKLCHoklch(40.94% 0.156 332.4)
XYZxyz(10.8375, 5.8791, 15.3128)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C6E #1C7725
analogous
#531C77 #771C6E #771C41
triadic
#771C6E #6E771C #1C6E77
tetradic
#771C6E #77531C #1C7725 #1C4177
square
#771C6E #77531C #1C7725 #1C4177
split-complementary
#771C6E #41771C #1C7753
monochromatic
#190617 #451040 #771C6E #A9289C #D13CC2

Accessibility & contrast

On white

9.65
#771C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771C6E
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C6E#FFFFFF#000000##FFFFFF
##771C6E1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C70
Deuteranopia (green-blind)
#3A496C
Tritanopia (blue-blind)
#7C2643
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771c6e;
/* rgb */ color: rgb(119, 28, 110);
/* oklch */ color: oklch(40.9% 0.156 332.4);
Tailwind
colors: {
  custom: {
    50: '#a16398',
    500: '#771c6e',
    950: '#000000',
  },
}
SCSS
$custom: #771c6e;
$custom-light: #a16398;
$custom-dark: #000000;
JSON
{
  "hex": "#771c6e",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 305.934,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40944,
    "c": 0.15582,
    "h": 332.4
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#771C6E
secondary
#44AB4E
accent
#E55343
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #771C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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