#771A78#771A78

#771A78 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.166 H 327.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#771A78
RGBrgb(119, 26, 120)
HSLhsl(299, 64%, 29%)
HSVhsv(299, 78%, 47%)
CMYKcmyk(0.8%, 78.3%, 0%, 52.9%)
CIE-LABlab(29.46, 50.41, -32.06)
CIE-LCHlch(29.46, 59.74, 327.55°)
OKLaboklab(41.38% 0.1402 -0.0889)
OKLCHoklch(41.38% 0.166 327.6)
XYZxyz(11.3672, 6.0176, 18.3285)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A78 #1B781A
analogous
#481A78 #771A78 #781A4A
triadic
#771A78 #78771A #1A7877
tetradic
#771A78 #78481A #1B781A #1A4A78
square
#771A78 #78481A #1B781A #1A4A78
split-complementary
#771A78 #4A781A #1A7848
monochromatic
#190519 #450F46 #771A78 #A925AA #D238D4

Accessibility & contrast

On white

9.53
#771A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#771A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A78
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A78#FFFFFF#000000##FFFFFF
##771A781.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7B
Deuteranopia (green-blind)
#344976
Tritanopia (blue-blind)
#7B2A48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771a78;
/* rgb */ color: rgb(119, 26, 120);
/* oklch */ color: oklch(41.4% 0.166 327.6);
Tailwind
colors: {
  custom: {
    50: '#a2629f',
    500: '#771a78',
    950: '#000000',
  },
}
SCSS
$custom: #771a78;
$custom-light: #a2629f;
$custom-dark: #000000;
JSON
{
  "hex": "#771a78",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 299.362,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41384,
    "c": 0.16601,
    "h": 327.6
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#771A78
secondary
#42AC41
accent
#E74042
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771A78

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

Preview Lab → · Contrast checker → · Palette generator →

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