#772A84#772A84

#772A84 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.157 H 321.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#772A84
RGBrgb(119, 42, 132)
HSLhsl(291, 52%, 34%)
HSVhsv(291, 68%, 52%)
CMYKcmyk(9.8%, 68.2%, 0%, 48.2%)
CIE-LABlab(32.36, 46.51, -34.97)
CIE-LCHlch(32.36, 58.19, 323.06°)
OKLaboklab(43.7% 0.123 -0.0976)
OKLCHoklch(43.7% 0.157 321.6)
XYZxyz(12.6001, 7.2445, 22.5600)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A84 #37842A
analogous
#4A2A84 #772A84 #842A64
triadic
#772A84 #84772A #2A8477
tetradic
#772A84 #844A2A #37842A #2A6484
square
#772A84 #844A2A #37842A #2A6484
split-complementary
#772A84 #64842A #2A844A
monochromatic
#230C27 #4D1B56 #772A84 #A139B2 #BB5DCB

Accessibility & contrast

On white

8.58
#772A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#772A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A84
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A84#FFFFFF#000000##FFFFFF
##772A841.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104787
Deuteranopia (green-blind)
#354F82
Tritanopia (blue-blind)
#783953
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772a84;
/* rgb */ color: rgb(119, 42, 132);
/* oklch */ color: oklch(43.7% 0.157 321.6);
Tailwind
colors: {
  custom: {
    50: '#a16aa8',
    500: '#772a84',
    950: '#000000',
  },
}
SCSS
$custom: #772a84;
$custom-light: #a16aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#772a84",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 291.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43698,
    "c": 0.15699,
    "h": 321.6
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#772A84
secondary
#65B159
accent
#DB4D61
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772A84

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

Preview Lab → · Contrast checker → · Palette generator →

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