#772B82#772B82

#772B82 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.154 H 322.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#772B82
RGBrgb(119, 43, 130)
HSLhsl(292, 50%, 34%)
HSVhsv(292, 67%, 51%)
CMYKcmyk(8.5%, 66.9%, 0%, 49%)
CIE-LABlab(32.40, 45.67, -33.66)
CIE-LCHlch(32.40, 56.73, 323.60°)
OKLaboklab(43.69% 0.1218 -0.0938)
OKLCHoklch(43.69% 0.154 322.4)
XYZxyz(12.5005, 7.2621, 21.8580)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B82 #36822B
analogous
#4C2B82 #772B82 #822B62
triadic
#772B82 #82772B #2B8277
tetradic
#772B82 #824C2B #36822B #2B6282
square
#772B82 #824C2B #36822B #2B6282
split-complementary
#772B82 #62822B #2B824C
monochromatic
#230D26 #4D1C54 #772B82 #A13AB0 #BC5ECA

Accessibility & contrast

On white

8.56
#772B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772B82
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B82#FFFFFF#000000##FFFFFF
##772B821.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164785
Deuteranopia (green-blind)
#374F80
Tritanopia (blue-blind)
#793952
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772b82;
/* rgb */ color: rgb(119, 43, 130);
/* oklch */ color: oklch(43.7% 0.154 322.4);
Tailwind
colors: {
  custom: {
    50: '#a16aa7',
    500: '#772b82',
    950: '#000000',
  },
}
SCSS
$custom: #772b82;
$custom-light: #a16aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#772b82",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 292.414,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43687,
    "c": 0.1537,
    "h": 322.4
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#772B82
secondary
#64B059
accent
#DA4E60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772B82

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

Preview Lab → · Contrast checker → · Palette generator →

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