#772B79#772B79

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

Color values

HEX#772B79
RGBrgb(119, 43, 121)
HSLhsl(298, 48%, 32%)
HSVhsv(298, 64%, 47%)
CMYKcmyk(1.7%, 64.5%, 0%, 52.5%)
CIE-LABlab(31.88, 43.93, -28.85)
CIE-LCHlch(31.88, 52.55, 326.70°)
OKLaboklab(43.14% 0.1214 -0.0798)
OKLCHoklch(43.14% 0.145 326.7)
XYZxyz(11.9226, 7.0309, 18.8146)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B79 #2D792B
analogous
#502B79 #772B79 #792B54
triadic
#772B79 #79772B #2B7977
tetradic
#772B79 #79502B #2D792B #2B5479
square
#772B79 #79502B #2D792B #2B5479
split-complementary
#772B79 #54792B #2B7950
monochromatic
#1E0B1F #4B1B4C #772B79 #A33BA6 #C25AC4

Accessibility & contrast

On white

8.73
#772B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772B79
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B79#FFFFFF#000000##FFFFFF
##772B791.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#3C4E77
Tritanopia (blue-blind)
#7A364E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772b79;
/* rgb */ color: rgb(119, 43, 121);
/* oklch */ color: oklch(43.1% 0.145 326.7);
Tailwind
colors: {
  custom: {
    50: '#a16aa0',
    500: '#772b79',
    950: '#000000',
  },
}
SCSS
$custom: #772b79;
$custom-light: #a16aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#772b79",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 298.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43144,
    "c": 0.1453,
    "h": 326.7
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

primary
#772B79
secondary
#58AA56
accent
#D75154
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772B79

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

Preview Lab → · Contrast checker → · Palette generator →

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