#772B78#772B78

#772B78 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.144 H 327.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#772B78
RGBrgb(119, 43, 120)
HSLhsl(299, 47%, 32%)
HSVhsv(299, 64%, 47%)
CMYKcmyk(0.8%, 64.2%, 0%, 52.9%)
CIE-LABlab(31.82, 43.74, -28.31)
CIE-LCHlch(31.82, 52.10, 327.09°)
OKLaboklab(43.09% 0.1214 -0.0782)
OKLCHoklch(43.09% 0.144 327.2)
XYZxyz(11.8616, 7.0065, 18.4933)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B78 #2C782B
analogous
#512B78 #772B78 #782B53
triadic
#772B78 #78772B #2B7877
tetradic
#772B78 #78512B #2C782B #2B5378
square
#772B78 #78512B #2C782B #2B5378
split-complementary
#772B78 #53782B #2B7851
monochromatic
#1E0B1E #4A1B4B #772B78 #A43BA5 #C25AC4

Accessibility & contrast

On white

8.75
#772B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#772B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B78
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B78#FFFFFF#000000##FFFFFF
##772B781.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457A
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#7A354D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772b78;
/* rgb */ color: rgb(119, 43, 120);
/* oklch */ color: oklch(43.1% 0.144 327.2);
Tailwind
colors: {
  custom: {
    50: '#a16a9f',
    500: '#772b78',
    950: '#000000',
  },
}
SCSS
$custom: #772b78;
$custom-light: #a16a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#772b78",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 299.221,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43085,
    "c": 0.14439,
    "h": 327.2
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#772B78
secondary
#56AA55
accent
#D75153
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772B78

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

Preview Lab → · Contrast checker → · Palette generator →

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