#771D9B#771D9B

#771D9B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.193 H 313.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#771D9B
RGBrgb(119, 29, 155)
HSLhsl(283, 68%, 36%)
HSVhsv(283, 81%, 61%)
CMYKcmyk(23.2%, 81.3%, 0%, 39.2%)
CIE-LABlab(32.19, 56.13, -49.41)
CIE-LCHlch(32.19, 74.78, 318.64°)
OKLaboklab(44.07% 0.1332 -0.1398)
OKLCHoklch(44.07% 0.193 313.6)
XYZxyz(13.9625, 7.1677, 31.6520)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D9B #419B1D
analogous
#381D9B #771D9B #9B1D80
triadic
#771D9B #9B771D #1D9B77
tetradic
#771D9B #9B381D #419B1D #1D809B
square
#771D9B #9B381D #419B1D #1D809B
split-complementary
#771D9B #809B1D #1D9B38
monochromatic
#280A34 #4F1367 #771D9B #9F27CF #B753DF

Accessibility & contrast

On white

8.63
#771D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#771D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D9B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D9B#FFFFFF#000000##FFFFFF
##771D9B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#0C4E98
Tritanopia (blue-blind)
#733C5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771d9b;
/* rgb */ color: rgb(119, 29, 155);
/* oklch */ color: oklch(44.1% 0.193 313.6);
Tailwind
colors: {
  custom: {
    50: '#a365b9',
    500: '#771d9b',
    950: '#000000',
  },
}
SCSS
$custom: #771d9b;
$custom-light: #a365b9;
$custom-dark: #000000;
JSON
{
  "hex": "#771d9b",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 155
  },
  "hsl": {
    "h": 282.857,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44074,
    "c": 0.1931,
    "h": 313.6
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#771D9B
secondary
#72C252
accent
#EB3C6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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