#772D8A#772D8A

#772D8A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.159 H 318.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#772D8A
RGBrgb(119, 45, 138)
HSLhsl(288, 51%, 36%)
HSVhsv(288, 67%, 54%)
CMYKcmyk(13.8%, 67.4%, 0%, 45.9%)
CIE-LABlab(33.21, 46.38, -37.33)
CIE-LCHlch(33.21, 59.54, 321.17°)
OKLaboklab(44.43% 0.1193 -0.1045)
OKLCHoklch(44.43% 0.159 318.8)
XYZxyz(13.1330, 7.6343, 24.8216)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D8A #408A2D
analogous
#482D8A #772D8A #8A2D6E
triadic
#772D8A #8A772D #2D8A77
tetradic
#772D8A #8A482D #408A2D #2D6E8A
square
#772D8A #8A482D #408A2D #2D6E8A
split-complementary
#772D8A #6E8A2D #2D8A48
monochromatic
#270F2E #4F1E5C #772D8A #9F3CB8 #B765CD

Accessibility & contrast

On white

8.31
#772D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#772D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772D8A
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D8A#FFFFFF#000000##FFFFFF
##772D8A1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C498D
Deuteranopia (green-blind)
#325188
Tritanopia (blue-blind)
#773E57
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772d8a;
/* rgb */ color: rgb(119, 45, 138);
/* oklch */ color: oklch(44.4% 0.159 318.8);
Tailwind
colors: {
  custom: {
    50: '#a16cad',
    500: '#772d8a',
    950: '#000000',
  },
}
SCSS
$custom: #772d8a;
$custom-light: #a16cad;
$custom-dark: #000000;
JSON
{
  "hex": "#772d8a",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 287.742,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44431,
    "c": 0.15859,
    "h": 318.8
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#772D8A
secondary
#71B360
accent
#DA4D6A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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