#771872#771872

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

Color values

HEX#771872
RGBrgb(119, 24, 114)
HSLhsl(303, 66%, 28%)
HSVhsv(303, 80%, 47%)
CMYKcmyk(0%, 79.8%, 4.2%, 53.3%)
CIE-LABlab(28.88, 50.01, -29.16)
CIE-LCHlch(28.88, 57.89, 329.76°)
OKLaboklab(40.86% 0.142 -0.0805)
OKLCHoklch(40.86% 0.163 330.5)
XYZxyz(10.9716, 5.7910, 16.4562)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771872 #18771D
analogous
#4C1877 #771872 #771842
triadic
#771872 #727718 #187277
tetradic
#771872 #774C18 #18771D #184277
square
#771872 #774C18 #18771D #184277
split-complementary
#771872 #427718 #18774C
monochromatic
#190518 #440E41 #771872 #AA22A3 #D633CD

Accessibility & contrast

On white

9.73
#771872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771872
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771872#FFFFFF#000000##FFFFFF
##7718721.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3C74
Deuteranopia (green-blind)
#364970
Tritanopia (blue-blind)
#7C2544
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771872;
/* rgb */ color: rgb(119, 24, 114);
/* oklch */ color: oklch(40.9% 0.163 330.5);
Tailwind
colors: {
  custom: {
    50: '#a2619b',
    500: '#771872',
    950: '#000000',
  },
}
SCSS
$custom: #771872;
$custom-light: #a2619b;
$custom-dark: #000000;
JSON
{
  "hex": "#771872",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 303.158,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40856,
    "c": 0.16326,
    "h": 330.5
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#771872
secondary
#3FAC45
accent
#E9473E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771872

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

Preview Lab → · Contrast checker → · Palette generator →

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