#772E71#772E71

#772E71 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.1% C 0.133 H 330.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#772E71
RGBrgb(119, 46, 113)
HSLhsl(305, 44%, 32%)
HSVhsv(305, 61%, 47%)
CMYKcmyk(0%, 61.3%, 5%, 53.3%)
CIE-LABlab(31.96, 41.03, -23.66)
CIE-LCHlch(31.96, 47.36, 330.03°)
OKLaboklab(43.07% 0.1166 -0.0648)
OKLCHoklch(43.07% 0.133 330.9)
XYZxyz(11.5653, 7.0690, 16.3749)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E71 #2E7734
analogous
#592E77 #772E71 #772E4C
triadic
#772E71 #71772E #2E7177
tetradic
#772E71 #77592E #2E7734 #2E4C77
square
#772E71 #77592E #2E7734 #2E4C77
split-complementary
#772E71 #4C772E #2E7759
monochromatic
#1F0C1D #4B1D47 #772E71 #A33F9B #C15EB9

Accessibility & contrast

On white

8.70
#772E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#772E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E71
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E71#FFFFFF#000000##FFFFFF
##772E711.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#414F6F
Tritanopia (blue-blind)
#7C354B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772e71;
/* rgb */ color: rgb(119, 46, 113);
/* oklch */ color: oklch(43.1% 0.133 330.9);
Tailwind
colors: {
  custom: {
    50: '#a16c9a',
    500: '#772e71',
    950: '#000000',
  },
}
SCSS
$custom: #772e71;
$custom-light: #a16c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#772e71",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 304.932,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43068,
    "c": 0.13345,
    "h": 330.9
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#772E71
secondary
#59A860
accent
#D45E54
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772E71

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

Preview Lab → · Contrast checker → · Palette generator →

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