#772E8B#772E8B

#772E8B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.158 H 318.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#772E8B
RGBrgb(119, 46, 139)
HSLhsl(287, 50%, 36%)
HSVhsv(287, 67%, 55%)
CMYKcmyk(14.4%, 66.9%, 0%, 45.5%)
CIE-LABlab(33.44, 46.13, -37.59)
CIE-LCHlch(33.44, 59.50, 320.83°)
OKLaboklab(44.62% 0.1181 -0.1052)
OKLCHoklch(44.62% 0.158 318.3)
XYZxyz(13.2443, 7.7406, 25.2175)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E8B #428B2E
analogous
#492E8B #772E8B #8B2E71
triadic
#772E8B #8B772E #2E8B77
tetradic
#772E8B #8B492E #428B2E #2E718B
square
#772E8B #8B492E #428B2E #2E718B
split-complementary
#772E8B #718B2E #2E8B49
monochromatic
#28102F #501F5D #772E8B #9E3DB9 #B767CD

Accessibility & contrast

On white

8.24
#772E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#772E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E8B
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E8B#FFFFFF#000000##FFFFFF
##772E8B1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4A8E
Deuteranopia (green-blind)
#325189
Tritanopia (blue-blind)
#773F58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772e8b;
/* rgb */ color: rgb(119, 46, 139);
/* oklch */ color: oklch(44.6% 0.158 318.3);
Tailwind
colors: {
  custom: {
    50: '#a16cad',
    500: '#772e8b',
    950: '#000000',
  },
}
SCSS
$custom: #772e8b;
$custom-light: #a16cad;
$custom-dark: #000000;
JSON
{
  "hex": "#772e8b",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 287.097,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44615,
    "c": 0.15817,
    "h": 318.3
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#772E8B
secondary
#73B361
accent
#DA4E6C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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