#771B89#771B89

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

Color values

HEX#771B89
RGBrgb(119, 27, 137)
HSLhsl(290, 67%, 32%)
HSVhsv(290, 80%, 54%)
CMYKcmyk(13.1%, 80.3%, 0%, 46.3%)
CIE-LABlab(30.67, 53.20, -40.78)
CIE-LCHlch(30.67, 67.03, 322.53°)
OKLaboklab(42.6% 0.1379 -0.1144)
OKLCHoklch(42.6% 0.179 320.3)
XYZxyz(12.5145, 6.5126, 24.2599)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B89 #2D891B
analogous
#401B89 #771B89 #891B64
triadic
#771B89 #89771B #1B8977
tetradic
#771B89 #89401B #2D891B #1B6489
square
#771B89 #89401B #2D891B #1B6489
split-complementary
#771B89 #64891B #1B8940
monochromatic
#1E0723 #4B1156 #771B89 #A325BC #C244DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771B89#FFFFFF#000000##FFFFFF
##771B891.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)
#00428C
Deuteranopia (green-blind)
#274B87
Tritanopia (blue-blind)
#773352
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771b89;
/* rgb */ color: rgb(119, 27, 137);
/* oklch */ color: oklch(42.6% 0.179 320.3);
Tailwind
colors: {
  custom: {
    50: '#a264ac',
    500: '#771b89',
    950: '#000000',
  },
}
SCSS
$custom: #771b89;
$custom-light: #a264ac;
$custom-dark: #000000;
JSON
{
  "hex": "#771b89",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 290.182,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42598,
    "c": 0.17923,
    "h": 320.3
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#771B89
secondary
#58BC44
accent
#EA3E5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771B89

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

Preview Lab → · Contrast checker → · Palette generator →

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