#772C7A#772C7A

#772C7A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.145 H 326.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#772C7A
RGBrgb(119, 44, 122)
HSLhsl(298, 47%, 33%)
HSVhsv(298, 64%, 48%)
CMYKcmyk(2.5%, 63.9%, 0%, 52.2%)
CIE-LABlab(32.10, 43.65, -29.13)
CIE-LCHlch(32.10, 52.48, 326.29°)
OKLaboklab(43.32% 0.1202 -0.0806)
OKLCHoklch(43.32% 0.145 326.2)
XYZxyz(12.0210, 7.1292, 19.1515)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C7A #2F7A2C
analogous
#502C7A #772C7A #7A2C56
triadic
#772C7A #7A772C #2C7A77
tetradic
#772C7A #7A502C #2F7A2C #2C567A
square
#772C7A #7A502C #2F7A2C #2C567A
split-complementary
#772C7A #567A2C #2C7A50
monochromatic
#1F0C20 #4B1C4D #772C7A #A33CA7 #C05CC4

Accessibility & contrast

On white

8.66
#772C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772C7A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C7A#FFFFFF#000000##FFFFFF
##772C7A1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457C
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#7A374F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772c7a;
/* rgb */ color: rgb(119, 44, 122);
/* oklch */ color: oklch(43.3% 0.145 326.2);
Tailwind
colors: {
  custom: {
    50: '#a16ba1',
    500: '#772c7a',
    950: '#000000',
  },
}
SCSS
$custom: #772c7a;
$custom-light: #a16ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#772c7a",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 297.692,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43323,
    "c": 0.14473,
    "h": 326.2
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#772C7A
secondary
#5BAA57
accent
#D75156
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #772C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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