#771E81#771E81

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

Color values

HEX#771E81
RGBrgb(119, 30, 129)
HSLhsl(294, 62%, 31%)
HSVhsv(294, 77%, 51%)
CMYKcmyk(7.8%, 76.7%, 0%, 49.4%)
CIE-LABlab(30.49, 50.69, -36.08)
CIE-LCHlch(30.49, 62.22, 324.56°)
OKLaboklab(42.3% 0.136 -0.1007)
OKLCHoklch(42.3% 0.169 323.5)
XYZxyz(12.0341, 6.4362, 21.3731)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E81 #28811E
analogous
#451E81 #771E81 #811E59
triadic
#771E81 #81771E #1E8177
tetradic
#771E81 #81451E #28811E #1E5981
square
#771E81 #81451E #28811E #1E5981
split-complementary
#771E81 #59811E #1E8145
monochromatic
#1B071E #49124F #771E81 #A52AB3 #C546D4

Accessibility & contrast

On white

9.18
#771E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#771E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E81
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E81#FFFFFF#000000##FFFFFF
##771E811.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#79304E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771e81;
/* rgb */ color: rgb(119, 30, 129);
/* oklch */ color: oklch(42.3% 0.169 323.5);
Tailwind
colors: {
  custom: {
    50: '#a264a6',
    500: '#771e81',
    950: '#000000',
  },
}
SCSS
$custom: #771e81;
$custom-light: #a264a6;
$custom-dark: #000000;
JSON
{
  "hex": "#771e81",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 293.939,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42299,
    "c": 0.16926,
    "h": 323.5
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#771E81
secondary
#52B447
accent
#E54253
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771E81

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

Preview Lab → · Contrast checker → · Palette generator →

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