#772C71#772C71

#772C71 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.137 H 330.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#772C71
RGBrgb(119, 44, 113)
HSLhsl(305, 46%, 32%)
HSVhsv(305, 63%, 47%)
CMYKcmyk(0%, 63%, 5%, 53.3%)
CIE-LABlab(31.62, 41.98, -24.21)
CIE-LCHlch(31.62, 48.46, 330.03°)
OKLaboklab(42.81% 0.1194 -0.0664)
OKLCHoklch(42.81% 0.137 330.9)
XYZxyz(11.4890, 6.9164, 16.3494)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C71 #2C7732
analogous
#582C77 #772C71 #772C4C
triadic
#772C71 #71772C #2C7177
tetradic
#772C71 #77582C #2C7732 #2C4C77
square
#772C71 #77582C #2C7732 #2C4C77
split-complementary
#772C71 #4C772C #2C7758
monochromatic
#1E0B1C #4A1B47 #772C71 #A43D9B #C25BBA

Accessibility & contrast

On white

8.81
#772C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#772C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C71
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C71#FFFFFF#000000##FFFFFF
##772C711.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#404E6F
Tritanopia (blue-blind)
#7C334A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #772c71;
/* rgb */ color: rgb(119, 44, 113);
/* oklch */ color: oklch(42.8% 0.137 330.9);
Tailwind
colors: {
  custom: {
    50: '#a16a9a',
    500: '#772c71',
    950: '#000000',
  },
}
SCSS
$custom: #772c71;
$custom-light: #a16a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#772c71",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 304.8,
    "s": 46.012,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.13658,
    "h": 330.9
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#772C71
secondary
#56A85D
accent
#D65D52
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772C71

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

Preview Lab → · Contrast checker → · Palette generator →

#772C71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva