#772B71#772B71

#772B71 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.138 H 330.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#772B71
RGBrgb(119, 43, 113)
HSLhsl(305, 47%, 32%)
HSVhsv(305, 64%, 47%)
CMYKcmyk(0%, 63.9%, 5%, 53.3%)
CIE-LABlab(31.45, 42.45, -24.47)
CIE-LCHlch(31.45, 49.00, 330.03°)
OKLaboklab(42.69% 0.1207 -0.0671)
OKLCHoklch(42.69% 0.138 330.9)
XYZxyz(11.4522, 6.8428, 16.3372)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B71 #2B7731
analogous
#572B77 #772B71 #772B4B
triadic
#772B71 #71772B #2B7177
tetradic
#772B71 #77572B #2B7731 #2B4B77
square
#772B71 #77572B #2B7731 #2B4B77
split-complementary
#772B71 #4B772B #2B7757
monochromatic
#1D0B1C #4A1B46 #772B71 #A43B9C #C359BB

Accessibility & contrast

On white

8.87
#772B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#772B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B71
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B71#FFFFFF#000000##FFFFFF
##772B711.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772b71;
/* rgb */ color: rgb(119, 43, 113);
/* oklch */ color: oklch(42.7% 0.138 330.9);
Tailwind
colors: {
  custom: {
    50: '#a16a9a',
    500: '#772b71',
    950: '#000000',
  },
}
SCSS
$custom: #772b71;
$custom-light: #a16a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#772b71",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 304.737,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.13813,
    "h": 330.9
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#772B71
secondary
#55A95C
accent
#D75C51
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772B71

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

Preview Lab → · Contrast checker → · Palette generator →

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