#772A7F#772A7F

#772A7F is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.152 H 323.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#772A7F
RGBrgb(119, 42, 127)
HSLhsl(294, 50%, 33%)
HSVhsv(294, 67%, 50%)
CMYKcmyk(6.3%, 66.9%, 0%, 50.2%)
CIE-LABlab(32.06, 45.53, -32.33)
CIE-LCHlch(32.06, 55.84, 324.62°)
OKLaboklab(43.39% 0.123 -0.0899)
OKLCHoklch(43.39% 0.152 323.8)
XYZxyz(12.2661, 7.1109, 20.8010)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A7F #327F2A
analogous
#4C2A7F #772A7F #7F2A5C
triadic
#772A7F #7F772A #2A7F77
tetradic
#772A7F #7F4C2A #327F2A #2A5C7F
square
#772A7F #7F4C2A #327F2A #2A5C7F
split-complementary
#772A7F #5C7F2A #2A7F4C
monochromatic
#210C23 #4C1B51 #772A7F #A239AD #BE5BC9

Accessibility & contrast

On white

8.67
#772A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#772A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A7F
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A7F#FFFFFF#000000##FFFFFF
##772A7F1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184682
Deuteranopia (green-blind)
#384F7D
Tritanopia (blue-blind)
#793751
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772a7f;
/* rgb */ color: rgb(119, 42, 127);
/* oklch */ color: oklch(43.4% 0.152 323.8);
Tailwind
colors: {
  custom: {
    50: '#a16aa4',
    500: '#772a7f',
    950: '#000000',
  },
}
SCSS
$custom: #772a7f;
$custom-light: #a16aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#772a7f",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 294.353,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43386,
    "c": 0.1523,
    "h": 323.8
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#772A7F
secondary
#5FAE57
accent
#DA4E5B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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