#771F78#771F78

#771F78 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.160 H 327.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#771F78
RGBrgb(119, 31, 120)
HSLhsl(299, 59%, 30%)
HSVhsv(299, 74%, 47%)
CMYKcmyk(0.8%, 74.2%, 0%, 52.9%)
CIE-LABlab(30.06, 48.69, -31.10)
CIE-LCHlch(30.06, 57.78, 327.43°)
OKLaboklab(41.81% 0.1353 -0.0862)
OKLCHoklch(41.81% 0.16 327.5)
XYZxyz(11.4877, 6.2588, 18.3687)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F78 #20781F
analogous
#4B1F78 #771F78 #781F4D
triadic
#771F78 #78771F #1F7877
tetradic
#771F78 #784B1F #20781F #1F4D78
square
#771F78 #784B1F #20781F #1F4D78
split-complementary
#771F78 #4D781F #1F784B
monochromatic
#180618 #471247 #771F78 #A72CA9 #CD43CE

Accessibility & contrast

On white

9.33
#771F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#771F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F78
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F78#FFFFFF#000000##FFFFFF
##771F781.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407A
Deuteranopia (green-blind)
#364B76
Tritanopia (blue-blind)
#7B2D49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771f78;
/* rgb */ color: rgb(119, 31, 120);
/* oklch */ color: oklch(41.8% 0.160 327.5);
Tailwind
colors: {
  custom: {
    50: '#a1649f',
    500: '#771f78',
    950: '#000000',
  },
}
SCSS
$custom: #771f78;
$custom-light: #a1649f;
$custom-dark: #000000;
JSON
{
  "hex": "#771f78",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 299.326,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.16047,
    "h": 327.5
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#771F78
secondary
#48AB47
accent
#E24647
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771F78

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

Preview Lab → · Contrast checker → · Palette generator →

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