#772B8A#772B8A

#772B8A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.161 H 319.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#772B8A
RGBrgb(119, 43, 138)
HSLhsl(288, 52%, 35%)
HSVhsv(288, 69%, 54%)
CMYKcmyk(13.8%, 68.8%, 0%, 45.9%)
CIE-LABlab(32.89, 47.28, -37.85)
CIE-LCHlch(32.89, 60.56, 321.32°)
OKLaboklab(44.2% 0.1217 -0.106)
OKLCHoklch(44.2% 0.161 319)
XYZxyz(13.0585, 7.4853, 24.7968)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B8A #3E8A2B
analogous
#472B8A #772B8A #8A2B6D
triadic
#772B8A #8A772B #2B8A77
tetradic
#772B8A #8A472B #3E8A2B #2B6D8A
square
#772B8A #8A472B #3E8A2B #2B6D8A
split-complementary
#772B8A #6D8A2B #2B8A47
monochromatic
#270E2D #4F1C5B #772B8A #9F3AB9 #B861CE

Accessibility & contrast

On white

8.41
#772B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#772B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B8A
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B8A#FFFFFF#000000##FFFFFF
##772B8A1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05488D
Deuteranopia (green-blind)
#315088
Tritanopia (blue-blind)
#773C57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772b8a;
/* rgb */ color: rgb(119, 43, 138);
/* oklch */ color: oklch(44.2% 0.161 319.0);
Tailwind
colors: {
  custom: {
    50: '#a16bad',
    500: '#772b8a',
    950: '#000000',
  },
}
SCSS
$custom: #772b8a;
$custom-light: #a16bad;
$custom-dark: #000000;
JSON
{
  "hex": "#772b8a",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 288,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44199,
    "c": 0.16136,
    "h": 319
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#772B8A
secondary
#6EB45D
accent
#DC4C69
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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