#771772#771772

#771772 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.164 H 330.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#771772
RGBrgb(119, 23, 114)
HSLhsl(303, 68%, 28%)
HSVhsv(303, 81%, 47%)
CMYKcmyk(0%, 80.7%, 4.2%, 53.3%)
CIE-LABlab(28.77, 50.31, -29.32)
CIE-LCHlch(28.77, 58.23, 329.77°)
OKLaboklab(40.78% 0.1429 -0.081)
OKLCHoklch(40.78% 0.164 330.5)
XYZxyz(10.9514, 5.7505, 16.4495)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771772 #17771C
analogous
#4C1777 #771772 #771742
triadic
#771772 #727717 #177277
tetradic
#771772 #774C17 #17771C #174277
square
#771772 #774C17 #17771C #174277
split-complementary
#771772 #427717 #17774C
monochromatic
#1A0519 #440D41 #771772 #AA21A3 #D731CF

Accessibility & contrast

On white

9.77
#771772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#771772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771772
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771772#FFFFFF#000000##FFFFFF
##7717721.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C74
Deuteranopia (green-blind)
#364870
Tritanopia (blue-blind)
#7C2544
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771772;
/* rgb */ color: rgb(119, 23, 114);
/* oklch */ color: oklch(40.8% 0.164 330.5);
Tailwind
colors: {
  custom: {
    50: '#a2619b',
    500: '#771772',
    950: '#000000',
  },
}
SCSS
$custom: #771772;
$custom-light: #a2619b;
$custom-dark: #000000;
JSON
{
  "hex": "#771772",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 303.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40781,
    "c": 0.16426,
    "h": 330.5
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#771772
secondary
#3EAC43
accent
#EA463D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #771772

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

Preview Lab → · Contrast checker → · Palette generator →

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