#771FA0#771FA0

#771FA0 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.6% C 0.196 H 311.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#771FA0
RGBrgb(119, 31, 160)
HSLhsl(281, 68%, 37%)
HSVhsv(281, 81%, 63%)
CMYKcmyk(25.6%, 80.6%, 0%, 37.3%)
CIE-LABlab(32.79, 56.51, -51.47)
CIE-LCHlch(32.79, 76.43, 317.67°)
OKLaboklab(44.62% 0.1306 -0.1458)
OKLCHoklch(44.62% 0.196 311.8)
XYZxyz(14.4417, 7.4404, 33.9263)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771FA0 #48A01F
analogous
#361FA0 #771FA0 #A01F89
triadic
#771FA0 #A0771F #1FA077
tetradic
#771FA0 #A0361F #48A01F #1F89A0
square
#771FA0 #A0361F #48A01F #1F89A0
split-complementary
#771FA0 #89A01F #1FA036
monochromatic
#2B0B39 #51156D #771FA0 #9D29D3 #B55ADF

Accessibility & contrast

On white

8.44
#771FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771FA0
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771FA0#FFFFFF#000000##FFFFFF
##771FA01.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#723F60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #771fa0;
/* rgb */ color: rgb(119, 31, 160);
/* oklch */ color: oklch(44.6% 0.196 311.8);
Tailwind
colors: {
  custom: {
    50: '#a366bd',
    500: '#771fa0',
    950: '#000000',
  },
}
SCSS
$custom: #771fa0;
$custom-light: #a366bd;
$custom-dark: #000000;
JSON
{
  "hex": "#771fa0",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 280.93,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.19574,
    "h": 311.8
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#771FA0
secondary
#7AC358
accent
#EA3D74
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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