#772B7A#772B7A

#772B7A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.146 H 326.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#772B7A
RGBrgb(119, 43, 122)
HSLhsl(298, 48%, 32%)
HSVhsv(298, 65%, 48%)
CMYKcmyk(2.5%, 64.8%, 0%, 52.2%)
CIE-LABlab(31.93, 44.11, -29.39)
CIE-LCHlch(31.93, 53.01, 326.33°)
OKLaboklab(43.2% 0.1215 -0.0813)
OKLCHoklch(43.2% 0.146 326.2)
XYZxyz(11.9842, 7.0556, 19.1392)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B7A #2E7A2B
analogous
#502B7A #772B7A #7A2B55
triadic
#772B7A #7A772B #2B7A77
tetradic
#772B7A #7A502B #2E7A2B #2B557A
square
#772B7A #7A502B #2E7A2B #2B557A
split-complementary
#772B7A #557A2B #2B7A50
monochromatic
#1F0B1F #4B1B4D #772B7A #A33BA7 #C15AC5

Accessibility & contrast

On white

8.71
#772B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#772B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B7A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B7A#FFFFFF#000000##FFFFFF
##772B7A1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#3B4E78
Tritanopia (blue-blind)
#7A364E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772b7a;
/* rgb */ color: rgb(119, 43, 122);
/* oklch */ color: oklch(43.2% 0.146 326.2);
Tailwind
colors: {
  custom: {
    50: '#a16aa1',
    500: '#772b7a',
    950: '#000000',
  },
}
SCSS
$custom: #772b7a;
$custom-light: #a16aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#772b7a",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 297.722,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43202,
    "c": 0.14622,
    "h": 326.2
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#772B7A
secondary
#59AB56
accent
#D75055
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #772B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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