#771BA6#771BA6

#771BA6 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.205 H 310.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#771BA6
RGBrgb(119, 27, 166)
HSLhsl(280, 72%, 38%)
HSVhsv(280, 84%, 65%)
CMYKcmyk(28.3%, 83.7%, 0%, 34.9%)
CIE-LABlab(32.83, 59.01, -55.03)
CIE-LCHlch(32.83, 80.69, 317.00°)
OKLaboklab(44.79% 0.132 -0.1563)
OKLCHoklch(44.79% 0.205 310.2)
XYZxyz(14.8812, 7.4593, 36.7249)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771BA6 #4AA61B
analogous
#311BA6 #771BA6 #A61B90
triadic
#771BA6 #A6771B #1BA677
tetradic
#771BA6 #A6311B #4AA61B #1B90A6
square
#771BA6 #A6311B #4AA61B #1B90A6
split-complementary
#771BA6 #90A61B #1BA631
monochromatic
#2C0A3D #511271 #771BA6 #9D24DB #B458E4

Accessibility & contrast

On white

8.43
#771BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771BA6
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771BA6#FFFFFF#000000##FFFFFF
##771BA61.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771ba6;
/* rgb */ color: rgb(119, 27, 166);
/* oklch */ color: oklch(44.8% 0.205 310.2);
Tailwind
colors: {
  custom: {
    50: '#a465c1',
    500: '#771ba6',
    950: '#000000',
  },
}
SCSS
$custom: #771ba6;
$custom-light: #a465c1;
$custom-dark: #000000;
JSON
{
  "hex": "#771ba6",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 166
  },
  "hsl": {
    "h": 279.712,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44792,
    "c": 0.20458,
    "h": 310.2
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#771BA6
secondary
#7CC756
accent
#EF3976
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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