#771D7F#771D7F

#771D7F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.169 H 324.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#771D7F
RGBrgb(119, 29, 127)
HSLhsl(295, 63%, 31%)
HSVhsv(295, 77%, 50%)
CMYKcmyk(6.3%, 77.2%, 0%, 50.2%)
CIE-LABlab(30.24, 50.67, -35.23)
CIE-LCHlch(30.24, 61.71, 325.19°)
OKLaboklab(42.08% 0.1371 -0.0982)
OKLCHoklch(42.08% 0.169 324.4)
XYZxyz(11.8776, 6.3337, 20.6715)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D7F #257F1D
analogous
#461D7F #771D7F #7F1D56
triadic
#771D7F #7F771D #1D7F77
tetradic
#771D7F #7F461D #257F1D #1D567F
square
#771D7F #7F461D #257F1D #1D567F
split-complementary
#771D7F #567F1D #1D7F46
monochromatic
#1A061B #48124D #771D7F #A628B1 #C842D4

Accessibility & contrast

On white

9.26
#771D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#771D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D7F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D7F#FFFFFF#000000##FFFFFF
##771D7F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#792F4D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771d7f;
/* rgb */ color: rgb(119, 29, 127);
/* oklch */ color: oklch(42.1% 0.169 324.4);
Tailwind
colors: {
  custom: {
    50: '#a264a4',
    500: '#771d7f',
    950: '#000000',
  },
}
SCSS
$custom: #771d7f;
$custom-light: #a264a4;
$custom-dark: #000000;
JSON
{
  "hex": "#771d7f",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 295.102,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42082,
    "c": 0.16864,
    "h": 324.4
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#771D7F
secondary
#4EB245
accent
#E6424F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771D7F

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

Preview Lab → · Contrast checker → · Palette generator →

#771D7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva