#771A8E#771A8E

#771A8E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.184 H 318.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#771A8E
RGBrgb(119, 26, 142)
HSLhsl(288, 69%, 33%)
HSVhsv(288, 82%, 56%)
CMYKcmyk(16.2%, 81.7%, 0%, 44.3%)
CIE-LABlab(30.91, 54.47, -43.49)
CIE-LCHlch(30.91, 69.70, 321.40°)
OKLaboklab(42.88% 0.138 -0.1224)
OKLCHoklch(42.88% 0.184 318.4)
XYZxyz(12.8590, 6.6143, 26.1853)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A8E #318E1A
analogous
#3D1A8E #771A8E #8E1A6B
triadic
#771A8E #8E771A #1A8E77
tetradic
#771A8E #8E3D1A #318E1A #1A6B8E
square
#771A8E #8E3D1A #318E1A #1A6B8E
split-complementary
#771A8E #6B8E1A #1A8E3D
monochromatic
#200727 #4C115A #771A8E #A223C2 #BF45DD

Accessibility & contrast

On white

9.04
#771A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#771A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A8E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A8E#FFFFFF#000000##FFFFFF
##771A8E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#763555
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771a8e;
/* rgb */ color: rgb(119, 26, 142);
/* oklch */ color: oklch(42.9% 0.184 318.4);
Tailwind
colors: {
  custom: {
    50: '#a263b0',
    500: '#771a8e',
    950: '#000000',
  },
}
SCSS
$custom: #771a8e;
$custom-light: #a263b0;
$custom-dark: #000000;
JSON
{
  "hex": "#771a8e",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 288.103,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4288,
    "c": 0.18446,
    "h": 318.4
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#771A8E
secondary
#5DBE45
accent
#EC3C5F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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