#772B76#772B76

#772B76 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.143 H 328.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#772B76
RGBrgb(119, 43, 118)
HSLhsl(301, 47%, 32%)
HSVhsv(301, 64%, 47%)
CMYKcmyk(0%, 63.9%, 0.8%, 53.3%)
CIE-LABlab(31.71, 43.36, -27.22)
CIE-LCHlch(31.71, 51.20, 327.88°)
OKLaboklab(42.97% 0.1212 -0.0751)
OKLCHoklch(42.97% 0.143 328.2)
XYZxyz(11.7415, 6.9585, 17.8607)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B76 #2B772C
analogous
#522B77 #772B76 #772B50
triadic
#772B76 #76772B #2B7677
tetradic
#772B76 #77522B #2B772C #2B5077
square
#772B76 #77522B #2B772C #2B5077
split-complementary
#772B76 #50772B #2B7752
monochromatic
#1D0B1D #4A1B49 #772B76 #A43BA3 #C359C2

Accessibility & contrast

On white

8.78
#772B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#772B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B76
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B76#FFFFFF#000000##FFFFFF
##772B761.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#3D4E74
Tritanopia (blue-blind)
#7B344C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772b76;
/* rgb */ color: rgb(119, 43, 118);
/* oklch */ color: oklch(43.0% 0.143 328.2);
Tailwind
colors: {
  custom: {
    50: '#a16a9e',
    500: '#772b76',
    950: '#000000',
  },
}
SCSS
$custom: #772b76;
$custom-light: #a16a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#772b76",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 300.789,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4297,
    "c": 0.14258,
    "h": 328.2
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#772B76
secondary
#55A956
accent
#D75351
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772B76

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

Preview Lab → · Contrast checker → · Palette generator →

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