#771777#771777

#771777 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.168 H 328.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#771777
RGBrgb(119, 23, 119)
HSLhsl(300, 68%, 28%)
HSVhsv(300, 81%, 47%)
CMYKcmyk(0%, 80.7%, 0%, 53.3%)
CIE-LABlab(29.08, 51.16, -32.03)
CIE-LCHlch(29.08, 60.36, 327.95°)
OKLaboklab(41.09% 0.1428 -0.0888)
OKLCHoklch(41.09% 0.168 328.1)
XYZxyz(11.2438, 5.8675, 17.9895)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771777 #177717
analogous
#471777 #771777 #771747
triadic
#771777 #777717 #177777
tetradic
#771777 #774717 #177717 #174777
square
#771777 #774717 #177717 #174777
split-complementary
#771777 #477717 #177747
monochromatic
#1A051A #440D44 #771777 #AA21AA #D731D7

Accessibility & contrast

On white

9.66
#771777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#771777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771777
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771777#FFFFFF#000000##FFFFFF
##7717771.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#334975
Tritanopia (blue-blind)
#7B2747
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771777;
/* rgb */ color: rgb(119, 23, 119);
/* oklch */ color: oklch(41.1% 0.168 328.1);
Tailwind
colors: {
  custom: {
    50: '#a2619f',
    500: '#771777',
    950: '#000000',
  },
}
SCSS
$custom: #771777;
$custom-light: #a2619f;
$custom-dark: #000000;
JSON
{
  "hex": "#771777",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 300,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41093,
    "c": 0.16819,
    "h": 328.1
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#771777
secondary
#3EAC3E
accent
#EA3D3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771777

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

Preview Lab → · Contrast checker → · Palette generator →

#771777 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva