#772A79#772A79

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

Color values

HEX#772A79
RGBrgb(119, 42, 121)
HSLhsl(298, 48%, 32%)
HSVhsv(298, 65%, 47%)
CMYKcmyk(1.7%, 65.3%, 0%, 52.5%)
CIE-LABlab(31.71, 44.38, -29.11)
CIE-LCHlch(31.71, 53.07, 326.74°)
OKLaboklab(43.03% 0.1227 -0.0805)
OKLCHoklch(43.03% 0.147 326.7)
XYZxyz(11.8867, 6.9591, 18.8026)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A79 #2C792A
analogous
#502A79 #772A79 #792A54
triadic
#772A79 #79772A #2A7977
tetradic
#772A79 #79502A #2C792A #2A5479
square
#772A79 #79502A #2C792A #2A5479
split-complementary
#772A79 #54792A #2A7950
monochromatic
#1E0A1E #4A1A4C #772A79 #A43AA6 #C258C5

Accessibility & contrast

On white

8.78
#772A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#772A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A79
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A79#FFFFFF#000000##FFFFFF
##772A791.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#7A354D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772a79;
/* rgb */ color: rgb(119, 42, 121);
/* oklch */ color: oklch(43.0% 0.147 326.7);
Tailwind
colors: {
  custom: {
    50: '#a16aa0',
    500: '#772a79',
    950: '#000000',
  },
}
SCSS
$custom: #772a79;
$custom-light: #a16aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#772a79",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 298.481,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.14678,
    "h": 326.7
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#772A79
secondary
#56AB54
accent
#D85053
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772A79

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

Preview Lab → · Contrast checker → · Palette generator →

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