#772B7E#772B7E

#772B7E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.150 H 324.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#772B7E
RGBrgb(119, 43, 126)
HSLhsl(295, 49%, 33%)
HSVhsv(295, 66%, 49%)
CMYKcmyk(5.6%, 65.9%, 0%, 50.6%)
CIE-LABlab(32.16, 44.88, -31.54)
CIE-LCHlch(32.16, 54.86, 324.90°)
OKLaboklab(43.44% 0.1217 -0.0876)
OKLCHoklch(43.44% 0.15 324.3)
XYZxyz(12.2372, 7.1568, 20.4714)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772B7E #327E2B
analogous
#4D2B7E #772B7E #7E2B5B
triadic
#772B7E #7E772B #2B7E77
tetradic
#772B7E #7E4D2B #327E2B #2B5B7E
square
#772B7E #7E4D2B #327E2B #2B5B7E
split-complementary
#772B7E #5B7E2B #2B7E4D
monochromatic
#210C23 #4C1B50 #772B7E #A23BAC #BE5CC7

Accessibility & contrast

On white

8.64
#772B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#772B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772B7E
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772B7E#FFFFFF#000000##FFFFFF
##772B7E1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4680
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#793750
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772b7e;
/* rgb */ color: rgb(119, 43, 126);
/* oklch */ color: oklch(43.4% 0.150 324.3);
Tailwind
colors: {
  custom: {
    50: '#a16aa4',
    500: '#772b7e',
    950: '#000000',
  },
}
SCSS
$custom: #772b7e;
$custom-light: #a16aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#772b7e",
  "rgb": {
    "r": 119,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 294.94,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43441,
    "c": 0.14994,
    "h": 324.3
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#772B7E
secondary
#5FAD58
accent
#D94F5B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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