#772A7C#772A7C

#772A7C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.150 H 325.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#772A7C
RGBrgb(119, 42, 124)
HSLhsl(296, 49%, 33%)
HSVhsv(296, 66%, 49%)
CMYKcmyk(4%, 66.1%, 0%, 51.4%)
CIE-LABlab(31.88, 44.95, -30.73)
CIE-LCHlch(31.88, 54.45, 325.64°)
OKLaboklab(43.2% 0.1229 -0.0852)
OKLCHoklch(43.2% 0.15 325.3)
XYZxyz(12.0735, 7.0338, 19.7866)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A7C #2F7C2A
analogous
#4E2A7C #772A7C #7C2A58
triadic
#772A7C #7C772A #2A7C77
tetradic
#772A7C #7C4E2A #2F7C2A #2A587C
square
#772A7C #7C4E2A #2F7C2A #2A587C
split-complementary
#772A7C #587C2A #2A7C4E
monochromatic
#1F0B21 #4B1B4E #772A7C #A339AA #C059C7

Accessibility & contrast

On white

8.73
#772A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#772A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A7C
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A7C#FFFFFF#000000##FFFFFF
##772A7C1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457E
Deuteranopia (green-blind)
#3A4E7A
Tritanopia (blue-blind)
#7A364F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772a7c;
/* rgb */ color: rgb(119, 42, 124);
/* oklch */ color: oklch(43.2% 0.150 325.3);
Tailwind
colors: {
  custom: {
    50: '#a16aa2',
    500: '#772a7c',
    950: '#000000',
  },
}
SCSS
$custom: #772a7c;
$custom-light: #a16aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#772a7c",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 296.341,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43203,
    "c": 0.14952,
    "h": 325.3
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#772A7C
secondary
#5BAD55
accent
#D94F57
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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