#771DA0#771DA0

#771DA0 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.5% C 0.198 H 312.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#771DA0
RGBrgb(119, 29, 160)
HSLhsl(281, 69%, 37%)
HSVhsv(281, 82%, 63%)
CMYKcmyk(25.6%, 81.9%, 0%, 37.3%)
CIE-LABlab(32.57, 57.16, -51.83)
CIE-LCHlch(32.57, 77.16, 317.80°)
OKLaboklab(44.46% 0.1321 -0.1469)
OKLCHoklch(44.46% 0.198 312)
XYZxyz(14.3911, 7.3391, 33.9094)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771DA0 #46A01D
analogous
#351DA0 #771DA0 #A01D88
triadic
#771DA0 #A0771D #1DA077
tetradic
#771DA0 #A0351D #46A01D #1D88A0
square
#771DA0 #A0351D #46A01D #1D88A0
split-complementary
#771DA0 #88A01D #1DA035
monochromatic
#2A0A38 #50146C #771DA0 #9E26D4 #B557E1

Accessibility & contrast

On white

8.51
#771DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#771DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771DA0
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771DA0#FFFFFF#000000##FFFFFF
##771DA01.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#723E60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #771da0;
/* rgb */ color: rgb(119, 29, 160);
/* oklch */ color: oklch(44.5% 0.198 312.0);
Tailwind
colors: {
  custom: {
    50: '#a365bd',
    500: '#771da0',
    950: '#000000',
  },
}
SCSS
$custom: #771da0;
$custom-light: #a365bd;
$custom-dark: #000000;
JSON
{
  "hex": "#771da0",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 281.221,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44461,
    "c": 0.19756,
    "h": 312
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#771DA0
secondary
#78C455
accent
#EC3C73
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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