#772F79#772F79

#772F79 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.139 H 326.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#772F79
RGBrgb(119, 47, 121)
HSLhsl(298, 44%, 33%)
HSVhsv(298, 61%, 47%)
CMYKcmyk(1.7%, 61.2%, 0%, 52.5%)
CIE-LABlab(32.56, 42.04, -27.77)
CIE-LCHlch(32.56, 50.39, 326.55°)
OKLaboklab(43.64% 0.1162 -0.0767)
OKLCHoklch(43.64% 0.139 326.6)
XYZxyz(12.0752, 7.3362, 18.8655)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F79 #31792F
analogous
#522F79 #772F79 #792F56
triadic
#772F79 #79772F #2F7977
tetradic
#772F79 #79522F #31792F #2F5679
square
#772F79 #79522F #31792F #2F5679
split-complementary
#772F79 #56792F #2F7952
monochromatic
#200D21 #4C1E4D #772F79 #A240A5 #BF61C2

Accessibility & contrast

On white

8.51
#772F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#772F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F79
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F79#FFFFFF#000000##FFFFFF
##772F791.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#3E5077
Tritanopia (blue-blind)
#7A384F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772f79;
/* rgb */ color: rgb(119, 47, 121);
/* oklch */ color: oklch(43.6% 0.139 326.6);
Tailwind
colors: {
  custom: {
    50: '#a16ca0',
    500: '#772f79',
    950: '#000000',
  },
}
SCSS
$custom: #772f79;
$custom-light: #a16ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#772f79",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 298.378,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4364,
    "c": 0.1392,
    "h": 326.6
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#772F79
secondary
#5DA85B
accent
#D45457
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772F79

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

Preview Lab → · Contrast checker → · Palette generator →

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