#771F6E#771F6E

#771F6E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.152 H 332.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#771F6E
RGBrgb(119, 31, 110)
HSLhsl(306, 59%, 29%)
HSVhsv(306, 74%, 47%)
CMYKcmyk(0%, 73.9%, 7.6%, 53.3%)
CIE-LABlab(29.48, 46.96, -25.64)
CIE-LCHlch(29.48, 53.50, 331.36°)
OKLaboklab(41.22% 0.135 -0.0704)
OKLCHoklch(41.22% 0.152 332.5)
XYZxyz(10.9122, 6.0286, 15.3377)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F6E #1F7728
analogous
#541F77 #771F6E #771F42
triadic
#771F6E #6E771F #1F6E77
tetradic
#771F6E #77541F #1F7728 #1F4277
square
#771F6E #77541F #1F7728 #1F4277
split-complementary
#771F6E #42771F #1F7754
monochromatic
#180616 #461241 #771F6E #A82C9B #CE43C0

Accessibility & contrast

On white

9.52
#771F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771F6E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F6E#FFFFFF#000000##FFFFFF
##771F6E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D70
Deuteranopia (green-blind)
#3B4A6C
Tritanopia (blue-blind)
#7C2844
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771f6e;
/* rgb */ color: rgb(119, 31, 110);
/* oklch */ color: oklch(41.2% 0.152 332.5);
Tailwind
colors: {
  custom: {
    50: '#a16498',
    500: '#771f6e',
    950: '#000000',
  },
}
SCSS
$custom: #771f6e;
$custom-light: #a16498;
$custom-dark: #000000;
JSON
{
  "hex": "#771f6e",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 306.136,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.15226,
    "h": 332.5
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#771F6E
secondary
#47AB51
accent
#E25646
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #771F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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