#771B85#771B85

#771B85 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.176 H 321.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#771B85
RGBrgb(119, 27, 133)
HSLhsl(292, 66%, 31%)
HSVhsv(292, 80%, 52%)
CMYKcmyk(10.5%, 79.7%, 0%, 47.8%)
CIE-LABlab(30.40, 52.45, -38.72)
CIE-LCHlch(30.40, 65.19, 323.56°)
OKLaboklab(42.32% 0.1384 -0.1084)
OKLCHoklch(42.32% 0.176 321.9)
XYZxyz(12.2329, 6.4000, 22.7767)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B85 #29851B
analogous
#421B85 #771B85 #851B5E
triadic
#771B85 #85771B #1B8577
tetradic
#771B85 #85421B #29851B #1B5E85
square
#771B85 #85421B #29851B #1B5E85
split-complementary
#771B85 #5E851B #1B8542
monochromatic
#1C061F #491152 #771B85 #A525B8 #C542D9

Accessibility & contrast

On white

9.21
#771B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#771B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##771B85#FFFFFF#000000##FFFFFF
##771B851.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)
#004188
Deuteranopia (green-blind)
#2B4B83
Tritanopia (blue-blind)
#783150
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771b85;
/* rgb */ color: rgb(119, 27, 133);
/* oklch */ color: oklch(42.3% 0.176 321.9);
Tailwind
colors: {
  custom: {
    50: '#a263a9',
    500: '#771b85',
    950: '#000000',
  },
}
SCSS
$custom: #771b85;
$custom-light: #a263a9;
$custom-dark: #000000;
JSON
{
  "hex": "#771b85",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 292.075,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42321,
    "c": 0.17582,
    "h": 321.9
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#771B85
secondary
#53B844
accent
#E93F55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771B85

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

Preview Lab → · Contrast checker → · Palette generator →

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