#771C78#771C78

#771C78 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.164 H 327.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#771C78
RGBrgb(119, 28, 120)
HSLhsl(299, 62%, 29%)
HSVhsv(299, 77%, 47%)
CMYKcmyk(0.8%, 76.7%, 0%, 52.9%)
CIE-LABlab(29.69, 49.75, -31.69)
CIE-LCHlch(29.69, 58.99, 327.50°)
OKLaboklab(41.55% 0.1383 -0.0879)
OKLCHoklch(41.55% 0.164 327.6)
XYZxyz(11.4130, 6.1093, 18.3438)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C78 #1D781C
analogous
#491C78 #771C78 #781C4B
triadic
#771C78 #78771C #1C7877
tetradic
#771C78 #78491C #1D781C #1C4B78
square
#771C78 #78491C #1D781C #1C4B78
split-complementary
#771C78 #4B781C #1C7849
monochromatic
#190619 #461046 #771C78 #A828AA #D03DD2

Accessibility & contrast

On white

9.45
#771C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#771C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C78
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C78#FFFFFF#000000##FFFFFF
##771C781.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063E7A
Deuteranopia (green-blind)
#344A76
Tritanopia (blue-blind)
#7B2B49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771c78;
/* rgb */ color: rgb(119, 28, 120);
/* oklch */ color: oklch(41.5% 0.164 327.6);
Tailwind
colors: {
  custom: {
    50: '#a1639f',
    500: '#771c78',
    950: '#000000',
  },
}
SCSS
$custom: #771c78;
$custom-light: #a1639f;
$custom-dark: #000000;
JSON
{
  "hex": "#771c78",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 299.348,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41548,
    "c": 0.16388,
    "h": 327.6
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#771C78
secondary
#45AC44
accent
#E54344
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771C78

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

Preview Lab → · Contrast checker → · Palette generator →

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