#772C7D#772C7D

#772C7D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.148 H 324.7°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#772C7D
RGBrgb(119, 44, 125)
HSLhsl(296, 48%, 33%)
HSVhsv(296, 65%, 49%)
CMYKcmyk(4.8%, 64.8%, 0%, 51%)
CIE-LABlab(32.27, 44.23, -30.74)
CIE-LCHlch(32.27, 53.87, 325.20°)
OKLaboklab(43.5% 0.1204 -0.0853)
OKLCHoklch(43.5% 0.148 324.7)
XYZxyz(12.2098, 7.2047, 20.1456)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772C7D #327D2C
analogous
#4E2C7D #772C7D #7D2C5A
triadic
#772C7D #7D772C #2C7D77
tetradic
#772C7D #7D4E2C #327D2C #2C5A7D
square
#772C7D #7D4E2C #327D2C #2C5A7D
split-complementary
#772C7D #5A7D2C #2C7D4E
monochromatic
#210C22 #4C1C50 #772C7D #A23CAA #BE5DC6

Accessibility & contrast

On white

8.60
#772C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#772C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772C7D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772C7D#FFFFFF#000000##FFFFFF
##772C7D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D467F
Deuteranopia (green-blind)
#3A4F7B
Tritanopia (blue-blind)
#7A3850
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772c7d;
/* rgb */ color: rgb(119, 44, 125);
/* oklch */ color: oklch(43.5% 0.148 324.7);
Tailwind
colors: {
  custom: {
    50: '#a16ba3',
    500: '#772c7d',
    950: '#000000',
  },
}
SCSS
$custom: #772c7d;
$custom-light: #a16ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#772c7d",
  "rgb": {
    "r": 119,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 295.556,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.435,
    "c": 0.14753,
    "h": 324.7
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#772C7D
secondary
#5FAC59
accent
#D8505A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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