#771E7F#771E7F

#771E7F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.168 H 324.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#771E7F
RGBrgb(119, 30, 127)
HSLhsl(295, 62%, 31%)
HSVhsv(295, 76%, 50%)
CMYKcmyk(6.3%, 76.4%, 0%, 50.2%)
CIE-LABlab(30.36, 50.32, -35.03)
CIE-LCHlch(30.36, 61.32, 325.16°)
OKLaboklab(42.17% 0.1362 -0.0976)
OKLCHoklch(42.17% 0.168 324.4)
XYZxyz(11.9025, 6.3835, 20.6798)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E7F #267F1E
analogous
#471E7F #771E7F #7F1E56
triadic
#771E7F #7F771E #1E7F77
tetradic
#771E7F #7F471E #267F1E #1E567F
square
#771E7F #7F471E #267F1E #1E567F
split-complementary
#771E7F #567F1E #1E7F47
monochromatic
#1A071C #49124D #771E7F #A52AB1 #C744D3

Accessibility & contrast

On white

9.22
#771E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#771E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E7F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E7F#FFFFFF#000000##FFFFFF
##771E7F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771e7f;
/* rgb */ color: rgb(119, 30, 127);
/* oklch */ color: oklch(42.2% 0.168 324.4);
Tailwind
colors: {
  custom: {
    50: '#a264a4',
    500: '#771e7f',
    950: '#000000',
  },
}
SCSS
$custom: #771e7f;
$custom-light: #a264a4;
$custom-dark: #000000;
JSON
{
  "hex": "#771e7f",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 295.052,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42168,
    "c": 0.16755,
    "h": 324.4
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#771E7F
secondary
#4FB247
accent
#E54350
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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