#771DA6#771DA6

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

Color values

HEX#771DA6
RGBrgb(119, 29, 166)
HSLhsl(279, 70%, 38%)
HSVhsv(279, 83%, 65%)
CMYKcmyk(28.3%, 82.5%, 0%, 34.9%)
CIE-LABlab(33.04, 58.41, -54.69)
CIE-LCHlch(33.04, 80.02, 316.88°)
OKLaboklab(44.94% 0.1306 -0.1553)
OKLCHoklch(44.94% 0.203 310.1)
XYZxyz(14.9287, 7.5542, 36.7407)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771DA6 #4CA61D
analogous
#321DA6 #771DA6 #A61D90
triadic
#771DA6 #A6771D #1DA677
tetradic
#771DA6 #A6321D #4CA61D #1D90A6
square
#771DA6 #A6321D #4CA61D #1D90A6
split-complementary
#771DA6 #90A61D #1DA632
monochromatic
#2C0B3E #521472 #771DA6 #9C27D9 #B45BE2

Accessibility & contrast

On white

8.36
#771DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#771DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771DA6
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771DA6#FFFFFF#000000##FFFFFF
##771DA61.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771da6;
/* rgb */ color: rgb(119, 29, 166);
/* oklch */ color: oklch(44.9% 0.203 310.1);
Tailwind
colors: {
  custom: {
    50: '#a366c1',
    500: '#771da6',
    950: '#000000',
  },
}
SCSS
$custom: #771da6;
$custom-light: #a366c1;
$custom-dark: #000000;
JSON
{
  "hex": "#771da6",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 166
  },
  "hsl": {
    "h": 279.416,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44936,
    "c": 0.20294,
    "h": 310.1
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#771DA6
secondary
#7EC659
accent
#ED3B78
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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