#772C8A#772C8A

#772C8A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.160 H 318.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#772C8A
RGBrgb(119, 44, 138)
HSLhsl(288, 52%, 36%)
HSVhsv(288, 68%, 54%)
CMYKcmyk(13.8%, 68.1%, 0%, 45.9%)
CIE-LABlab(33.05, 46.83, -37.59)
CIE-LCHlch(33.05, 60.06, 321.25°)
OKLaboklab(44.31% 0.1205 -0.1052)
OKLCHoklch(44.31% 0.16 318.9)
XYZxyz(13.0953, 7.5589, 24.8090)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C8A #3F8A2C
analogous
#482C8A #772C8A #8A2C6E
triadic
#772C8A #8A772C #2C8A77
tetradic
#772C8A #8A482C #3F8A2C #2C6E8A
square
#772C8A #8A482C #3F8A2C #2C6E8A
split-complementary
#772C8A #6E8A2C #2C8A48
monochromatic
#270E2D #4F1D5C #772C8A #9F3BB8 #B863CD

Accessibility & contrast

On white

8.36
#772C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#772C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C8A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C8A#FFFFFF#000000##FFFFFF
##772C8A1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498D
Deuteranopia (green-blind)
#325088
Tritanopia (blue-blind)
#773D57
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772c8a;
/* rgb */ color: rgb(119, 44, 138);
/* oklch */ color: oklch(44.3% 0.160 318.9);
Tailwind
colors: {
  custom: {
    50: '#a16bad',
    500: '#772c8a',
    950: '#000000',
  },
}
SCSS
$custom: #772c8a;
$custom-light: #a16bad;
$custom-dark: #000000;
JSON
{
  "hex": "#772c8a",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 287.872,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44314,
    "c": 0.15999,
    "h": 318.9
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

primary
#772C8A
secondary
#6FB45E
accent
#DB4D69
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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