#772A82#772A82

#772A82 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.155 H 322.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#772A82
RGBrgb(119, 42, 130)
HSLhsl(293, 51%, 34%)
HSVhsv(293, 68%, 51%)
CMYKcmyk(8.5%, 67.7%, 0%, 49%)
CIE-LABlab(32.24, 46.12, -33.92)
CIE-LCHlch(32.24, 57.25, 323.66°)
OKLaboklab(43.57% 0.123 -0.0945)
OKLCHoklch(43.57% 0.155 322.5)
XYZxyz(12.4646, 7.1902, 21.8461)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A82 #35822A
analogous
#4B2A82 #772A82 #822A61
triadic
#772A82 #82772A #2A8277
tetradic
#772A82 #824B2A #35822A #2A6182
square
#772A82 #824B2A #35822A #2A6182
split-complementary
#772A82 #61822A #2A824B
monochromatic
#220C25 #4D1B54 #772A82 #A139B0 #BD5CCA

Accessibility & contrast

On white

8.61
#772A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772A82
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A82#FFFFFF#000000##FFFFFF
##772A821.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134685
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#793852
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772a82;
/* rgb */ color: rgb(119, 42, 130);
/* oklch */ color: oklch(43.6% 0.155 322.5);
Tailwind
colors: {
  custom: {
    50: '#a16aa7',
    500: '#772a82',
    950: '#000000',
  },
}
SCSS
$custom: #772a82;
$custom-light: #a16aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#772a82",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 292.5,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43572,
    "c": 0.1551,
    "h": 322.5
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#772A82
secondary
#63B058
accent
#DB4D5F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772A82

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

Preview Lab → · Contrast checker → · Palette generator →

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