#772D78#772D78

#772D78 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.3% C 0.141 H 327.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#772D78
RGBrgb(119, 45, 120)
HSLhsl(299, 45%, 32%)
HSVhsv(299, 63%, 47%)
CMYKcmyk(0.8%, 62.5%, 0%, 52.9%)
CIE-LABlab(32.16, 42.81, -27.78)
CIE-LCHlch(32.16, 51.03, 327.02°)
OKLaboklab(43.33% 0.1188 -0.0767)
OKLCHoklch(43.33% 0.141 327.1)
XYZxyz(11.9361, 7.1555, 18.5181)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D78 #2E782D
analogous
#522D78 #772D78 #782D54
triadic
#772D78 #78772D #2D7877
tetradic
#772D78 #78522D #2E782D #2D5478
square
#772D78 #78522D #2E782D #2D5478
split-complementary
#772D78 #54782D #2D7852
monochromatic
#1F0C1F #4B1C4B #772D78 #A33EA5 #C15DC2

Accessibility & contrast

On white

8.64
#772D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#772D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772D78
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D78#FFFFFF#000000##FFFFFF
##772D781.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467A
Deuteranopia (green-blind)
#3E4F76
Tritanopia (blue-blind)
#7A374E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772d78;
/* rgb */ color: rgb(119, 45, 120);
/* oklch */ color: oklch(43.3% 0.141 327.1);
Tailwind
colors: {
  custom: {
    50: '#a16b9f',
    500: '#772d78',
    950: '#000000',
  },
}
SCSS
$custom: #772d78;
$custom-light: #a16b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#772d78",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 299.2,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4333,
    "c": 0.14137,
    "h": 327.1
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#772D78
secondary
#59A958
accent
#D55354
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772D78

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

Preview Lab → · Contrast checker → · Palette generator →

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