#771A83#771A83

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

Color values

HEX#771A83
RGBrgb(119, 26, 131)
HSLhsl(293, 67%, 31%)
HSVhsv(293, 80%, 51%)
CMYKcmyk(9.2%, 80.2%, 0%, 48.6%)
CIE-LABlab(30.16, 52.39, -37.86)
CIE-LCHlch(30.16, 64.64, 324.14°)
OKLaboklab(42.11% 0.1395 -0.1059)
OKLCHoklch(42.11% 0.175 322.8)
XYZxyz(12.0735, 6.3001, 22.0484)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A83 #26831A
analogous
#421A83 #771A83 #831A5A
triadic
#771A83 #83771A #1A8377
tetradic
#771A83 #83421A #26831A #1A5A83
square
#771A83 #83421A #26831A #1A5A83
split-complementary
#771A83 #5A831A #1A8342
monochromatic
#1A061D #491050 #771A83 #A524B6 #C73FD9

Accessibility & contrast

On white

9.29
#771A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#771A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A83
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A83#FFFFFF#000000##FFFFFF
##771A831.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#2C4A81
Tritanopia (blue-blind)
#792F4E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771a83;
/* rgb */ color: rgb(119, 26, 131);
/* oklch */ color: oklch(42.1% 0.175 322.8);
Tailwind
colors: {
  custom: {
    50: '#a263a7',
    500: '#771a83',
    950: '#000000',
  },
}
SCSS
$custom: #771a83;
$custom-light: #a263a7;
$custom-dark: #000000;
JSON
{
  "hex": "#771a83",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 293.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42106,
    "c": 0.17511,
    "h": 322.8
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#771A83
secondary
#4FB742
accent
#EA3E52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771A83

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

Preview Lab → · Contrast checker → · Palette generator →

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