#771988#771988

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

Color values

HEX#771988
RGBrgb(119, 25, 136)
HSLhsl(291, 69%, 32%)
HSVhsv(291, 82%, 53%)
CMYKcmyk(12.5%, 81.6%, 0%, 46.7%)
CIE-LABlab(30.39, 53.63, -40.61)
CIE-LCHlch(30.39, 67.27, 322.86°)
OKLaboklab(42.38% 0.1397 -0.1139)
OKLCHoklch(42.38% 0.18 320.8)
XYZxyz(12.3988, 6.3955, 23.8691)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771988 #2A8819
analogous
#401988 #771988 #881962
triadic
#771988 #887719 #198877
tetradic
#771988 #884019 #2A8819 #196288
square
#771988 #884019 #2A8819 #196288
split-complementary
#771988 #628819 #198840
monochromatic
#1D0621 #4A0F54 #771988 #A423BC #C440DC

Accessibility & contrast

On white

9.21
#771988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771988
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771988#FFFFFF#000000##FFFFFF
##7719881.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#274B86
Tritanopia (blue-blind)
#783151
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771988;
/* rgb */ color: rgb(119, 25, 136);
/* oklch */ color: oklch(42.4% 0.180 320.8);
Tailwind
colors: {
  custom: {
    50: '#a263ab',
    500: '#771988',
    950: '#000000',
  },
}
SCSS
$custom: #771988;
$custom-light: #a263ab;
$custom-dark: #000000;
JSON
{
  "hex": "#771988",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 290.811,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42378,
    "c": 0.18027,
    "h": 320.8
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#771988
secondary
#54BB41
accent
#EC3C57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771988

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

Preview Lab → · Contrast checker → · Palette generator →

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