#771877#771877

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

Color values

HEX#771877
RGBrgb(119, 24, 119)
HSLhsl(300, 66%, 28%)
HSVhsv(300, 80%, 47%)
CMYKcmyk(0%, 79.8%, 0%, 53.3%)
CIE-LABlab(29.18, 50.86, -31.86)
CIE-LCHlch(29.18, 60.02, 327.93°)
OKLaboklab(41.17% 0.142 -0.0884)
OKLCHoklch(41.17% 0.167 328.1)
XYZxyz(11.2640, 5.9080, 17.9963)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771877 #187718
analogous
#471877 #771877 #771847
triadic
#771877 #777718 #187777
tetradic
#771877 #774718 #187718 #184777
square
#771877 #774718 #187718 #184777
split-complementary
#771877 #477718 #187747
monochromatic
#190519 #440E44 #771877 #AA22AA #D633D6

Accessibility & contrast

On white

9.63
#771877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#771877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##771877#FFFFFF#000000##FFFFFF
##7718771.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)
#003D7A
Deuteranopia (green-blind)
#334975
Tritanopia (blue-blind)
#7B2847
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771877;
/* rgb */ color: rgb(119, 24, 119);
/* oklch */ color: oklch(41.2% 0.167 328.1);
Tailwind
colors: {
  custom: {
    50: '#a2629f',
    500: '#771877',
    950: '#000000',
  },
}
SCSS
$custom: #771877;
$custom-light: #a2629f;
$custom-dark: #000000;
JSON
{
  "hex": "#771877",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 300,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.16723,
    "h": 328.1
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#771877
secondary
#3FAC3F
accent
#E93E3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771877

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

Preview Lab → · Contrast checker → · Palette generator →

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