#771B9B#771B9B

#771B9B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.195 H 313.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#771B9B
RGBrgb(119, 27, 155)
HSLhsl(283, 70%, 36%)
HSVhsv(283, 83%, 61%)
CMYKcmyk(23.2%, 82.6%, 0%, 39.2%)
CIE-LABlab(31.97, 56.75, -49.76)
CIE-LCHlch(31.97, 75.47, 318.76°)
OKLaboklab(43.93% 0.1348 -0.1408)
OKLCHoklch(43.93% 0.195 313.7)
XYZxyz(13.9150, 7.0728, 31.6362)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B9B #3F9B1B
analogous
#371B9B #771B9B #9B1B7F
triadic
#771B9B #9B771B #1B9B77
tetradic
#771B9B #9B371B #3F9B1B #1B7F9B
square
#771B9B #9B371B #3F9B1B #1B7F9B
split-complementary
#771B9B #7F9B1B #1B9B37
monochromatic
#270933 #4F1267 #771B9B #9F24CF #B850E0

Accessibility & contrast

On white

8.70
#771B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#771B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B9B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B9B#FFFFFF#000000##FFFFFF
##771B9B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#084D98
Tritanopia (blue-blind)
#733B5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771b9b;
/* rgb */ color: rgb(119, 27, 155);
/* oklch */ color: oklch(43.9% 0.195 313.7);
Tailwind
colors: {
  custom: {
    50: '#a364b9',
    500: '#771b9b',
    950: '#000000',
  },
}
SCSS
$custom: #771b9b;
$custom-light: #a364b9;
$custom-dark: #000000;
JSON
{
  "hex": "#771b9b",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 155
  },
  "hsl": {
    "h": 283.125,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43925,
    "c": 0.19488,
    "h": 313.7
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#771B9B
secondary
#6FC34F
accent
#ED3B6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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