#771FA1#771FA1

#771FA1 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.197 H 311.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#771FA1
RGBrgb(119, 31, 161)
HSLhsl(281, 68%, 38%)
HSVhsv(281, 81%, 63%)
CMYKcmyk(26.1%, 80.7%, 0%, 36.9%)
CIE-LABlab(32.87, 56.72, -51.95)
CIE-LCHlch(32.87, 76.91, 317.51°)
OKLaboklab(44.69% 0.1303 -0.1472)
OKLCHoklch(44.69% 0.197 311.5)
XYZxyz(14.5295, 7.4755, 34.3888)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771FA1 #49A11F
analogous
#361FA1 #771FA1 #A11F8A
triadic
#771FA1 #A1771F #1FA177
tetradic
#771FA1 #A1361F #49A11F #1F8AA1
square
#771FA1 #A1361F #49A11F #1F8AA1
split-complementary
#771FA1 #8AA11F #1FA136
monochromatic
#2B0B3A #51156E #771FA1 #9D29D4 #B55BDF

Accessibility & contrast

On white

8.42
#771FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#771FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771FA1
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771FA1#FFFFFF#000000##FFFFFF
##771FA11.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#724061
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #771fa1;
/* rgb */ color: rgb(119, 31, 161);
/* oklch */ color: oklch(44.7% 0.197 311.5);
Tailwind
colors: {
  custom: {
    50: '#a366be',
    500: '#771fa1',
    950: '#000000',
  },
}
SCSS
$custom: #771fa1;
$custom-light: #a366be;
$custom-dark: #000000;
JSON
{
  "hex": "#771fa1",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 280.615,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44694,
    "c": 0.19664,
    "h": 311.5
  },
  "luminance": 0.07475
}

Semantic roles & 50–950 ramp

primary
#771FA1
secondary
#7BC458
accent
#EB3D75
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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