#771971#771971

#771971 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.161 H 330.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#771971
RGBrgb(119, 25, 113)
HSLhsl(304, 65%, 28%)
HSVhsv(304, 79%, 47%)
CMYKcmyk(0%, 79%, 5%, 53.3%)
CIE-LABlab(28.93, 49.53, -28.44)
CIE-LCHlch(28.93, 57.11, 330.14°)
OKLaboklab(40.87% 0.1411 -0.0784)
OKLCHoklch(40.87% 0.161 330.9)
XYZxyz(10.9360, 5.8103, 16.1651)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771971 #19771F
analogous
#4E1977 #771971 #771942
triadic
#771971 #717719 #197177
tetradic
#771971 #774E19 #19771F #194277
square
#771971 #774E19 #19771F #194277
split-complementary
#771971 #427719 #19774E
monochromatic
#190518 #440E41 #771971 #AA24A1 #D536CB

Accessibility & contrast

On white

9.71
#771971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#771971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771971
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771971#FFFFFF#000000##FFFFFF
##7719711.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C73
Deuteranopia (green-blind)
#37496F
Tritanopia (blue-blind)
#7C2644
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771971;
/* rgb */ color: rgb(119, 25, 113);
/* oklch */ color: oklch(40.9% 0.161 330.9);
Tailwind
colors: {
  custom: {
    50: '#a2629a',
    500: '#771971',
    950: '#000000',
  },
}
SCSS
$custom: #771971;
$custom-light: #a2629a;
$custom-dark: #000000;
JSON
{
  "hex": "#771971",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 303.83,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40872,
    "c": 0.16146,
    "h": 330.9
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#771971
secondary
#40AC47
accent
#E84A40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771971

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

Preview Lab → · Contrast checker → · Palette generator →

#771971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva