#771C84#771C84

#771C84 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.174 H 322.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#771C84
RGBrgb(119, 28, 132)
HSLhsl(293, 65%, 31%)
HSVhsv(293, 79%, 52%)
CMYKcmyk(9.8%, 78.8%, 0%, 48.2%)
CIE-LABlab(30.45, 51.93, -38.03)
CIE-LCHlch(30.45, 64.37, 323.79°)
OKLaboklab(42.33% 0.1376 -0.1064)
OKLCHoklch(42.33% 0.174 322.3)
XYZxyz(12.1874, 6.4191, 22.4224)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C84 #29841C
analogous
#431C84 #771C84 #841C5D
triadic
#771C84 #84771C #1C8477
tetradic
#771C84 #84431C #29841C #1C5D84
square
#771C84 #84431C #29841C #1C5D84
split-complementary
#771C84 #5D841C #1C8443
monochromatic
#1C071F #491152 #771C84 #A527B6 #C543D7

Accessibility & contrast

On white

9.20
#771C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771C84
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C84#FFFFFF#000000##FFFFFF
##771C841.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#2C4B82
Tritanopia (blue-blind)
#78314F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771c84;
/* rgb */ color: rgb(119, 28, 132);
/* oklch */ color: oklch(42.3% 0.174 322.3);
Tailwind
colors: {
  custom: {
    50: '#a264a8',
    500: '#771c84',
    950: '#000000',
  },
}
SCSS
$custom: #771c84;
$custom-light: #a264a8;
$custom-dark: #000000;
JSON
{
  "hex": "#771c84",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 292.5,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42332,
    "c": 0.17396,
    "h": 322.3
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#771C84
secondary
#53B745
accent
#E84055
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771C84

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

Preview Lab → · Contrast checker → · Palette generator →

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