#772C82#772C82

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

Color values

HEX#772C82
RGBrgb(119, 44, 130)
HSLhsl(292, 49%, 34%)
HSVhsv(292, 66%, 51%)
CMYKcmyk(8.5%, 66.2%, 0%, 49%)
CIE-LABlab(32.56, 45.21, -33.41)
CIE-LCHlch(32.56, 56.22, 323.54°)
OKLaboklab(43.81% 0.1206 -0.093)
OKLCHoklch(43.81% 0.152 322.4)
XYZxyz(12.5373, 7.3357, 21.8703)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C82 #37822C
analogous
#4C2C82 #772C82 #822C62
triadic
#772C82 #82772C #2C8277
tetradic
#772C82 #824C2C #37822C #2C6282
square
#772C82 #824C2C #37822C #2C6282
split-complementary
#772C82 #62822C #2C824C
monochromatic
#230D27 #4D1D54 #772C82 #A13BB0 #BB5FC9

Accessibility & contrast

On white

8.51
#772C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#772C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C82
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C82#FFFFFF#000000##FFFFFF
##772C821.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184785
Deuteranopia (green-blind)
#374F80
Tritanopia (blue-blind)
#793A53
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772c82;
/* rgb */ color: rgb(119, 44, 130);
/* oklch */ color: oklch(43.8% 0.152 322.4);
Tailwind
colors: {
  custom: {
    50: '#a16ba7',
    500: '#772c82',
    950: '#000000',
  },
}
SCSS
$custom: #772c82;
$custom-light: #a16ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#772c82",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 292.326,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43805,
    "c": 0.15227,
    "h": 322.4
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#772C82
secondary
#65AF5B
accent
#D94F61
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772C82

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

Preview Lab → · Contrast checker → · Palette generator →

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