#771A9B#771A9B

#771A9B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.9% C 0.196 H 313.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#771A9B
RGBrgb(119, 26, 155)
HSLhsl(283, 71%, 35%)
HSVhsv(283, 83%, 61%)
CMYKcmyk(23.2%, 83.2%, 0%, 39.2%)
CIE-LABlab(31.87, 57.04, -49.92)
CIE-LCHlch(31.87, 75.80, 318.81°)
OKLaboklab(43.85% 0.1355 -0.1413)
OKLCHoklch(43.85% 0.196 313.8)
XYZxyz(13.8925, 7.0278, 31.6287)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A9B #3E9B1A
analogous
#361A9B #771A9B #9B1A7E
triadic
#771A9B #9B771A #1A9B77
tetradic
#771A9B #9B361A #3E9B1A #1A7E9B
square
#771A9B #9B361A #3E9B1A #1A7E9B
split-complementary
#771A9B #7E9B1A #1A9B36
monochromatic
#270832 #4F1167 #771A9B #9F23CF #B84EE1

Accessibility & contrast

On white

8.73
#771A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771A9B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A9B#FFFFFF#000000##FFFFFF
##771A9B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771a9b;
/* rgb */ color: rgb(119, 26, 155);
/* oklch */ color: oklch(43.9% 0.196 313.8);
Tailwind
colors: {
  custom: {
    50: '#a364b9',
    500: '#771a9b',
    950: '#000000',
  },
}
SCSS
$custom: #771a9b;
$custom-light: #a364b9;
$custom-dark: #000000;
JSON
{
  "hex": "#771a9b",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 155
  },
  "hsl": {
    "h": 283.256,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.19573,
    "h": 313.8
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#771A9B
secondary
#6EC44D
accent
#EE3A6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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