#771B9F#771B9F

#771B9F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.198 H 312.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#771B9F
RGBrgb(119, 27, 159)
HSLhsl(282, 71%, 36%)
HSVhsv(282, 83%, 62%)
CMYKcmyk(25.2%, 83%, 0%, 37.6%)
CIE-LABlab(32.28, 57.56, -51.69)
CIE-LCHlch(32.28, 77.36, 318.08°)
OKLaboklab(44.24% 0.1338 -0.1465)
OKLCHoklch(44.24% 0.198 312.4)
XYZxyz(14.2565, 7.2094, 33.4347)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B9F #439F1B
analogous
#351B9F #771B9F #9F1B85
triadic
#771B9F #9F771B #1B9F77
tetradic
#771B9F #9F351B #439F1B #1B859F
square
#771B9F #9F351B #439F1B #1B859F
split-complementary
#771B9F #859F1B #1B9F35
monochromatic
#290936 #50126B #771B9F #9E24D3 #B653E2

Accessibility & contrast

On white

8.60
#771B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#771B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B9F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B9F#FFFFFF#000000##FFFFFF
##771B9F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#723D5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771b9f;
/* rgb */ color: rgb(119, 27, 159);
/* oklch */ color: oklch(44.2% 0.198 312.4);
Tailwind
colors: {
  custom: {
    50: '#a365bc',
    500: '#771b9f',
    950: '#000000',
  },
}
SCSS
$custom: #771b9f;
$custom-light: #a365bc;
$custom-dark: #000000;
JSON
{
  "hex": "#771b9f",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 281.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44235,
    "c": 0.19839,
    "h": 312.4
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#771B9F
secondary
#74C551
accent
#EE3A71
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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