#771884#771884

#771884 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.178 H 322.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#771884
RGBrgb(119, 24, 132)
HSLhsl(293, 69%, 31%)
HSVhsv(293, 82%, 52%)
CMYKcmyk(9.8%, 81.8%, 0%, 48.2%)
CIE-LABlab(30.01, 53.18, -38.72)
CIE-LCHlch(30.01, 65.78, 323.94°)
OKLaboklab(42.03% 0.141 -0.1084)
OKLCHoklch(42.03% 0.178 322.5)
XYZxyz(12.0988, 6.2419, 22.3929)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771884 #258418
analogous
#411884 #771884 #84185B
triadic
#771884 #847718 #188477
tetradic
#771884 #844118 #258418 #185B84
square
#771884 #844118 #258418 #185B84
split-complementary
#771884 #5B8418 #188441
monochromatic
#1A051C #480F50 #771884 #A621B8 #C83BDB

Accessibility & contrast

On white

9.34
#771884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#771884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771884
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771884#FFFFFF#000000##FFFFFF
##7718841.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#2A4A82
Tritanopia (blue-blind)
#792F4F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771884;
/* rgb */ color: rgb(119, 24, 132);
/* oklch */ color: oklch(42.0% 0.178 322.5);
Tailwind
colors: {
  custom: {
    50: '#a262a8',
    500: '#771884',
    950: '#000000',
  },
}
SCSS
$custom: #771884;
$custom-light: #a262a8;
$custom-dark: #000000;
JSON
{
  "hex": "#771884",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 292.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.17784,
    "h": 322.5
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#771884
secondary
#4EB840
accent
#EC3C51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771884

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

Preview Lab → · Contrast checker → · Palette generator →

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