#772E6B#772E6B

#772E6B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.128 H 334.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#772E6B
RGBrgb(119, 46, 107)
HSLhsl(310, 44%, 32%)
HSVhsv(310, 61%, 47%)
CMYKcmyk(0%, 61.3%, 10.1%, 53.3%)
CIE-LABlab(31.67, 39.95, -20.31)
CIE-LCHlch(31.67, 44.82, 333.05°)
OKLaboklab(42.75% 0.1157 -0.0553)
OKLCHoklch(42.75% 0.128 334.5)
XYZxyz(11.2386, 6.9383, 14.6544)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E6B #2E773A
analogous
#5F2E77 #772E6B #772E47
triadic
#772E6B #6B772E #2E6B77
tetradic
#772E6B #775F2E #2E773A #2E4777
square
#772E6B #775F2E #2E773A #2E4777
split-complementary
#772E6B #47772E #2E775F
monochromatic
#1F0C1C #4B1D43 #772E6B #A33F93 #C15EB1

Accessibility & contrast

On white

8.80
#772E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772E6B
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E6B#FFFFFF#000000##FFFFFF
##772E6B1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446D
Deuteranopia (green-blind)
#444E69
Tritanopia (blue-blind)
#7C3348
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #772e6b;
/* rgb */ color: rgb(119, 46, 107);
/* oklch */ color: oklch(42.8% 0.128 334.5);
Tailwind
colors: {
  custom: {
    50: '#a06b95',
    500: '#772e6b',
    950: '#000000',
  },
}
SCSS
$custom: #772e6b;
$custom-light: #a06b95;
$custom-dark: #000000;
JSON
{
  "hex": "#772e6b",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 309.863,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42753,
    "c": 0.12821,
    "h": 334.5
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#772E6B
secondary
#59A866
accent
#D46954
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #772E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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