#771871#771871

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

Color values

HEX#771871
RGBrgb(119, 24, 113)
HSLhsl(304, 66%, 28%)
HSVhsv(304, 80%, 47%)
CMYKcmyk(0%, 79.8%, 5%, 53.3%)
CIE-LABlab(28.82, 49.84, -28.61)
CIE-LCHlch(28.82, 57.47, 330.14°)
OKLaboklab(40.79% 0.142 -0.0789)
OKLCHoklch(40.79% 0.162 330.9)
XYZxyz(10.9150, 5.7683, 16.1581)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771871 #18771E
analogous
#4D1877 #771871 #771842
triadic
#771871 #717718 #187177
tetradic
#771871 #774D18 #18771E #184277
square
#771871 #774D18 #18771E #184277
split-complementary
#771871 #427718 #18774D
monochromatic
#190518 #440E41 #771871 #AA22A1 #D633CC

Accessibility & contrast

On white

9.75
#771871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#771871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771871
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771871#FFFFFF#000000##FFFFFF
##7718711.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3C73
Deuteranopia (green-blind)
#37486F
Tritanopia (blue-blind)
#7C2544
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771871;
/* rgb */ color: rgb(119, 24, 113);
/* oklch */ color: oklch(40.8% 0.162 330.9);
Tailwind
colors: {
  custom: {
    50: '#a2619a',
    500: '#771871',
    950: '#000000',
  },
}
SCSS
$custom: #771871;
$custom-light: #a2619a;
$custom-dark: #000000;
JSON
{
  "hex": "#771871",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 303.789,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.16249,
    "h": 330.9
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#771871
secondary
#3FAC46
accent
#E9493E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771871

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

Preview Lab → · Contrast checker → · Palette generator →

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