#772B6C#772B6C

#772B6C is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.134 H 333.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#772B6C
RGBrgb(119, 43, 108)
HSLhsl(309, 47%, 32%)
HSVhsv(309, 64%, 47%)
CMYKcmyk(0%, 63.9%, 9.2%, 53.3%)
CIE-LABlab(31.19, 41.56, -21.69)
CIE-LCHlch(31.19, 46.88, 332.44°)
OKLaboklab(42.42% 0.12 -0.0592)
OKLCHoklch(42.42% 0.134 333.8)
XYZxyz(11.1784, 6.7333, 14.8953)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B6C #2B7736
analogous
#5C2B77 #772B6C #772B46
triadic
#772B6C #6C772B #2B6C77
tetradic
#772B6C #775C2B #2B7736 #2B4677
square
#772B6C #775C2B #2B7736 #2B4677
split-complementary
#772B6C #46772B #2B775C
monochromatic
#1D0B1A #4A1B43 #772B6C #A43B95 #C359B4

Accessibility & contrast

On white

8.95
#772B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#772B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B6C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B6C#FFFFFF#000000##FFFFFF
##772B6C1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426E
Deuteranopia (green-blind)
#424D6A
Tritanopia (blue-blind)
#7C3147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772b6c;
/* rgb */ color: rgb(119, 43, 108);
/* oklch */ color: oklch(42.4% 0.134 333.8);
Tailwind
colors: {
  custom: {
    50: '#a16a96',
    500: '#772b6c',
    950: '#000000',
  },
}
SCSS
$custom: #772b6c;
$custom-light: #a16a96;
$custom-dark: #000000;
JSON
{
  "hex": "#772b6c",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 108
  },
  "hsl": {
    "h": 308.684,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42422,
    "c": 0.13382,
    "h": 333.8
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#772B6C
secondary
#55A961
accent
#D76551
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #772B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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