#771B83#771B83

#771B83 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.174 H 322.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#771B83
RGBrgb(119, 27, 131)
HSLhsl(293, 66%, 31%)
HSVhsv(293, 79%, 51%)
CMYKcmyk(9.2%, 79.4%, 0%, 48.6%)
CIE-LABlab(30.27, 52.07, -37.69)
CIE-LCHlch(30.27, 64.28, 324.10°)
OKLaboklab(42.18% 0.1386 -0.1054)
OKLCHoklch(42.18% 0.174 322.8)
XYZxyz(12.0960, 6.3452, 22.0560)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B83 #27831B
analogous
#431B83 #771B83 #831B5B
triadic
#771B83 #83771B #1B8377
tetradic
#771B83 #83431B #27831B #1B5B83
square
#771B83 #83431B #27831B #1B5B83
split-complementary
#771B83 #5B831B #1B8343
monochromatic
#1B061E #491150 #771B83 #A525B6 #C641D8

Accessibility & contrast

On white

9.26
#771B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#771B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B83
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B83#FFFFFF#000000##FFFFFF
##771B831.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#2C4B81
Tritanopia (blue-blind)
#79304F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771b83;
/* rgb */ color: rgb(119, 27, 131);
/* oklch */ color: oklch(42.2% 0.174 322.8);
Tailwind
colors: {
  custom: {
    50: '#a263a7',
    500: '#771b83',
    950: '#000000',
  },
}
SCSS
$custom: #771b83;
$custom-light: #a263a7;
$custom-dark: #000000;
JSON
{
  "hex": "#771b83",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 293.077,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42184,
    "c": 0.17412,
    "h": 322.8
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#771B83
secondary
#51B643
accent
#E93F53
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771B83

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

Preview Lab → · Contrast checker → · Palette generator →

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