#772D7C#772D7C

#772D7C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.145 H 325.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#772D7C
RGBrgb(119, 45, 124)
HSLhsl(296, 47%, 33%)
HSVhsv(296, 64%, 49%)
CMYKcmyk(4%, 63.7%, 0%, 51.4%)
CIE-LABlab(32.38, 43.57, -29.94)
CIE-LCHlch(32.38, 52.87, 325.51°)
OKLaboklab(43.56% 0.1191 -0.0829)
OKLCHoklch(43.56% 0.145 325.1)
XYZxyz(12.1839, 7.2547, 19.8234)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D7C #327C2D
analogous
#4F2D7C #772D7C #7C2D59
triadic
#772D7C #7C772D #2D7C77
tetradic
#772D7C #7C4F2D #327C2D #2D597C
square
#772D7C #7C4F2D #327C2D #2D597C
split-complementary
#772D7C #597C2D #2D7C4F
monochromatic
#210C22 #4C1D4F #772D7C #A23DA9 #BE5FC5

Accessibility & contrast

On white

8.57
#772D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#772D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772D7C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D7C#FFFFFF#000000##FFFFFF
##772D7C1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467E
Deuteranopia (green-blind)
#3B4F7A
Tritanopia (blue-blind)
#7A3850
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772d7c;
/* rgb */ color: rgb(119, 45, 124);
/* oklch */ color: oklch(43.6% 0.145 325.1);
Tailwind
colors: {
  custom: {
    50: '#a16ba2',
    500: '#772d7c',
    950: '#000000',
  },
}
SCSS
$custom: #772d7c;
$custom-light: #a16ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#772d7c",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 296.203,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43563,
    "c": 0.1451,
    "h": 325.1
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#772D7C
secondary
#5FAB5A
accent
#D6515A
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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