#771CA6#771CA6

#771CA6 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.204 H 310.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#771CA6
RGBrgb(119, 28, 166)
HSLhsl(280, 71%, 38%)
HSVhsv(280, 83%, 65%)
CMYKcmyk(28.3%, 83.1%, 0%, 34.9%)
CIE-LABlab(32.93, 58.71, -54.86)
CIE-LCHlch(32.93, 80.36, 316.94°)
OKLaboklab(44.86% 0.1314 -0.1558)
OKLCHoklch(44.86% 0.204 310.1)
XYZxyz(14.9046, 7.5060, 36.7326)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771CA6 #4BA61C
analogous
#321CA6 #771CA6 #A61C90
triadic
#771CA6 #A6771C #1CA677
tetradic
#771CA6 #A6321C #4BA61C #1C90A6
square
#771CA6 #A6321C #4BA61C #1C90A6
split-complementary
#771CA6 #90A61C #1CA632
monochromatic
#2C0A3D #511372 #771CA6 #9C25DA #B459E3

Accessibility & contrast

On white

8.40
#771CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#771CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771CA6
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771CA6#FFFFFF#000000##FFFFFF
##771CA61.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#704163
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #771ca6;
/* rgb */ color: rgb(119, 28, 166);
/* oklch */ color: oklch(44.9% 0.204 310.1);
Tailwind
colors: {
  custom: {
    50: '#a365c1',
    500: '#771ca6',
    950: '#000000',
  },
}
SCSS
$custom: #771ca6;
$custom-light: #a365c1;
$custom-dark: #000000;
JSON
{
  "hex": "#771ca6",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 279.565,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44863,
    "c": 0.20377,
    "h": 310.1
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#771CA6
secondary
#7DC757
accent
#EE3A77
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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