#772D71#772D71

#772D71 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 42.9% C 0.135 H 330.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#772D71
RGBrgb(119, 45, 113)
HSLhsl(305, 45%, 32%)
HSVhsv(305, 62%, 47%)
CMYKcmyk(0%, 62.2%, 5%, 53.3%)
CIE-LABlab(31.79, 41.51, -23.94)
CIE-LCHlch(31.79, 47.91, 330.03°)
OKLaboklab(42.94% 0.118 -0.0656)
OKLCHoklch(42.94% 0.135 330.9)
XYZxyz(11.5267, 6.9918, 16.3620)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772D71 #2D7733
analogous
#582D77 #772D71 #772D4C
triadic
#772D71 #71772D #2D7177
tetradic
#772D71 #77582D #2D7733 #2D4C77
square
#772D71 #77582D #2D7733 #2D4C77
split-complementary
#772D71 #4C772D #2D7758
monochromatic
#1E0B1D #4B1C47 #772D71 #A33E9B #C25DB9

Accessibility & contrast

On white

8.76
#772D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#772D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772D71
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772D71#FFFFFF#000000##FFFFFF
##772D711.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#414E6F
Tritanopia (blue-blind)
#7C344A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #772d71;
/* rgb */ color: rgb(119, 45, 113);
/* oklch */ color: oklch(42.9% 0.135 330.9);
Tailwind
colors: {
  custom: {
    50: '#a16b9a',
    500: '#772d71',
    950: '#000000',
  },
}
SCSS
$custom: #772d71;
$custom-light: #a16b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#772d71",
  "rgb": {
    "r": 119,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 304.865,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4294,
    "c": 0.13502,
    "h": 330.9
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#772D71
secondary
#58A85E
accent
#D55E53
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #772D71

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

Preview Lab → · Contrast checker → · Palette generator →

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