#772C84#772C84

#772C84 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.154 H 321.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#772C84
RGBrgb(119, 44, 132)
HSLhsl(291, 50%, 35%)
HSVhsv(291, 67%, 52%)
CMYKcmyk(9.8%, 66.7%, 0%, 48.2%)
CIE-LABlab(32.68, 45.61, -34.46)
CIE-LCHlch(32.68, 57.17, 322.93°)
OKLaboklab(43.93% 0.1206 -0.0961)
OKLCHoklch(43.93% 0.154 321.4)
XYZxyz(12.6728, 7.3899, 22.5842)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C84 #39842C
analogous
#4B2C84 #772C84 #842C65
triadic
#772C84 #84772C #2C8477
tetradic
#772C84 #844B2C #39842C #2C6584
square
#772C84 #844B2C #39842C #2C6584
split-complementary
#772C84 #65842C #2C844B
monochromatic
#240D28 #4E1D56 #772C84 #A03BB2 #BA60CA

Accessibility & contrast

On white

8.48
#772C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#772C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C84
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C84#FFFFFF#000000##FFFFFF
##772C841.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154787
Deuteranopia (green-blind)
#365082
Tritanopia (blue-blind)
#783B54
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772c84;
/* rgb */ color: rgb(119, 44, 132);
/* oklch */ color: oklch(43.9% 0.154 321.4);
Tailwind
colors: {
  custom: {
    50: '#a16ba8',
    500: '#772c84',
    950: '#000000',
  },
}
SCSS
$custom: #772c84;
$custom-light: #a16ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#772c84",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 291.136,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4393,
    "c": 0.15418,
    "h": 321.4
  },
  "luminance": 0.07389
}

Semantic roles & 50–950 ramp

primary
#772C84
secondary
#68B05C
accent
#DA4E63
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772C84

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

Preview Lab → · Contrast checker → · Palette generator →

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