#771989#771989

#771989 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.181 H 320.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#771989
RGBrgb(119, 25, 137)
HSLhsl(290, 69%, 32%)
HSVhsv(290, 82%, 54%)
CMYKcmyk(13.1%, 81.8%, 0%, 46.3%)
CIE-LABlab(30.46, 53.82, -41.12)
CIE-LCHlch(30.46, 67.73, 322.62°)
OKLaboklab(42.45% 0.1396 -0.1154)
OKLCHoklch(42.45% 0.181 320.4)
XYZxyz(12.4702, 6.4240, 24.2452)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771989 #2B8919
analogous
#3F1989 #771989 #891963
triadic
#771989 #897719 #198977
tetradic
#771989 #893F19 #2B8919 #196389
square
#771989 #893F19 #2B8919 #196389
split-complementary
#771989 #638919 #19893F
monochromatic
#1D0621 #4A1055 #771989 #A422BD #C340DC

Accessibility & contrast

On white

9.19
#771989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#771989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771989
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771989#FFFFFF#000000##FFFFFF
##7719891.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#264B87
Tritanopia (blue-blind)
#783252
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771989;
/* rgb */ color: rgb(119, 25, 137);
/* oklch */ color: oklch(42.4% 0.181 320.4);
Tailwind
colors: {
  custom: {
    50: '#a263ac',
    500: '#771989',
    950: '#000000',
  },
}
SCSS
$custom: #771989;
$custom-light: #a263ac;
$custom-dark: #000000;
JSON
{
  "hex": "#771989",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 290.357,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42448,
    "c": 0.18112,
    "h": 320.4
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#771989
secondary
#55BC41
accent
#EC3C58
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771989

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

Preview Lab → · Contrast checker → · Palette generator →

#771989 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva