#772C7C#772C7C

#772C7C is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.147 H 325.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#772C7C
RGBrgb(119, 44, 124)
HSLhsl(296, 48%, 33%)
HSVhsv(296, 65%, 49%)
CMYKcmyk(4%, 64.5%, 0%, 51.4%)
CIE-LABlab(32.21, 44.04, -30.21)
CIE-LCHlch(32.21, 53.40, 325.55°)
OKLaboklab(43.44% 0.1203 -0.0837)
OKLCHoklch(43.44% 0.147 325.2)
XYZxyz(12.1462, 7.1793, 19.8108)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C7C #317C2C
analogous
#4F2C7C #772C7C #7C2C59
triadic
#772C7C #7C772C #2C7C77
tetradic
#772C7C #7C4F2C #317C2C #2C597C
square
#772C7C #7C4F2C #317C2C #2C597C
split-complementary
#772C7C #597C2C #2C7C4F
monochromatic
#200C22 #4C1C4F #772C7C #A23CA9 #BF5DC5

Accessibility & contrast

On white

8.62
#772C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#772C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C7C
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C7C#FFFFFF#000000##FFFFFF
##772C7C1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467E
Deuteranopia (green-blind)
#3B4F7A
Tritanopia (blue-blind)
#7A3750
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772c7c;
/* rgb */ color: rgb(119, 44, 124);
/* oklch */ color: oklch(43.4% 0.147 325.2);
Tailwind
colors: {
  custom: {
    50: '#a16ba2',
    500: '#772c7c',
    950: '#000000',
  },
}
SCSS
$custom: #772c7c;
$custom-light: #a16ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#772c7c",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 296.25,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43441,
    "c": 0.14659,
    "h": 325.2
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#772C7C
secondary
#5DAC58
accent
#D75159
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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