#771F82#771F82

#771F82 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.169 H 323.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#771F82
RGBrgb(119, 31, 130)
HSLhsl(293, 61%, 32%)
HSVhsv(293, 76%, 51%)
CMYKcmyk(8.5%, 76.2%, 0%, 49%)
CIE-LABlab(30.67, 50.53, -36.41)
CIE-LCHlch(30.67, 62.28, 324.22°)
OKLaboklab(42.45% 0.135 -0.1017)
OKLCHoklch(42.45% 0.169 323)
XYZxyz(12.1266, 6.5143, 21.7334)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F82 #2A821F
analogous
#461F82 #771F82 #821F5C
triadic
#771F82 #82771F #1F8277
tetradic
#771F82 #82461F #2A821F #1F5C82
square
#771F82 #82461F #2A821F #1F5C82
split-complementary
#771F82 #5C821F #1F8246
monochromatic
#1D071F #4A1351 #771F82 #A42BB3 #C448D3

Accessibility & contrast

On white

9.12
#771F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#771F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F82
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F82#FFFFFF#000000##FFFFFF
##771F821.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#2F4C80
Tritanopia (blue-blind)
#79314F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771f82;
/* rgb */ color: rgb(119, 31, 130);
/* oklch */ color: oklch(42.5% 0.169 323.0);
Tailwind
colors: {
  custom: {
    50: '#a265a7',
    500: '#771f82',
    950: '#000000',
  },
}
SCSS
$custom: #771f82;
$custom-light: #a265a7;
$custom-dark: #000000;
JSON
{
  "hex": "#771f82",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 293.333,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42453,
    "c": 0.16901,
    "h": 323
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#771F82
secondary
#54B548
accent
#E54355
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771F82

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

Preview Lab → · Contrast checker → · Palette generator →

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