#771A8F#771A8F

#771A8F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 43.0% C 0.185 H 318.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#771A8F
RGBrgb(119, 26, 143)
HSLhsl(288, 69%, 33%)
HSVhsv(288, 82%, 56%)
CMYKcmyk(16.8%, 81.8%, 0%, 43.9%)
CIE-LABlab(30.98, 54.67, -43.99)
CIE-LCHlch(30.98, 70.17, 321.17°)
OKLaboklab(42.95% 0.1379 -0.1238)
OKLCHoklch(42.95% 0.185 318.1)
XYZxyz(12.9344, 6.6445, 26.5825)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A8F #328F1A
analogous
#3C1A8F #771A8F #8F1A6C
triadic
#771A8F #8F771A #1A8F77
tetradic
#771A8F #8F3C1A #328F1A #1A6C8F
square
#771A8F #8F3C1A #328F1A #1A6C8F
split-complementary
#771A8F #6C8F1A #1A8F3C
monochromatic
#210727 #4C115B #771A8F #A223C3 #BE46DD

Accessibility & contrast

On white

9.02
#771A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#771A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A8F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A8F#FFFFFF#000000##FFFFFF
##771A8F1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#763555
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771a8f;
/* rgb */ color: rgb(119, 26, 143);
/* oklch */ color: oklch(43.0% 0.185 318.1);
Tailwind
colors: {
  custom: {
    50: '#a263b0',
    500: '#771a8f',
    950: '#000000',
  },
}
SCSS
$custom: #771a8f;
$custom-light: #a263b0;
$custom-dark: #000000;
JSON
{
  "hex": "#771a8f",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 287.692,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.18532,
    "h": 318.1
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#771A8F
secondary
#5FBF46
accent
#EC3C60
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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