#771A82#771A82

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

Color values

HEX#771A82
RGBrgb(119, 26, 130)
HSLhsl(294, 67%, 31%)
HSVhsv(294, 80%, 51%)
CMYKcmyk(8.5%, 80%, 0%, 49%)
CIE-LABlab(30.09, 52.20, -37.34)
CIE-LCHlch(30.09, 64.19, 324.42°)
OKLaboklab(42.04% 0.1396 -0.1044)
OKLCHoklch(42.04% 0.174 323.2)
XYZxyz(12.0060, 6.2732, 21.6932)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A82 #25821A
analogous
#431A82 #771A82 #821A59
triadic
#771A82 #82771A #1A8277
tetradic
#771A82 #82431A #25821A #1A5982
square
#771A82 #82431A #25821A #1A5982
split-complementary
#771A82 #59821A #1A8243
monochromatic
#1A061C #48104F #771A82 #A624B5 #C83ED8

Accessibility & contrast

On white

9.32
#771A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#771A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A82
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A82#FFFFFF#000000##FFFFFF
##771A821.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771a82;
/* rgb */ color: rgb(119, 26, 130);
/* oklch */ color: oklch(42.0% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#a263a7',
    500: '#771a82',
    950: '#000000',
  },
}
SCSS
$custom: #771a82;
$custom-light: #a263a7;
$custom-dark: #000000;
JSON
{
  "hex": "#771a82",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 293.654,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42039,
    "c": 0.17428,
    "h": 323.2
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#771A82
secondary
#4EB642
accent
#EA3E50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771A82

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

Preview Lab → · Contrast checker → · Palette generator →

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