#771F94#771F94

#771F94 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.185 H 315.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#771F94
RGBrgb(119, 31, 148)
HSLhsl(285, 65%, 35%)
HSVhsv(285, 79%, 58%)
CMYKcmyk(19.6%, 79.1%, 0%, 42%)
CIE-LABlab(31.90, 54.04, -45.59)
CIE-LCHlch(31.90, 70.71, 319.85°)
OKLaboklab(43.71% 0.1329 -0.1286)
OKLCHoklch(43.71% 0.185 315.9)
XYZxyz(13.4422, 7.0406, 28.6621)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F94 #3C941F
analogous
#3C1F94 #771F94 #941F77
triadic
#771F94 #94771F #1F9477
tetradic
#771F94 #943C1F #3C941F #1F7794
square
#771F94 #943C1F #3C941F #1F7794
split-complementary
#771F94 #77941F #1F943C
monochromatic
#260A2F #4E1461 #771F94 #A02AC7 #B953DB

Accessibility & contrast

On white

8.72
#771F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#771F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F94
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F94#FFFFFF#000000##FFFFFF
##771F941.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#1D4D92
Tritanopia (blue-blind)
#753A59
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771f94;
/* rgb */ color: rgb(119, 31, 148);
/* oklch */ color: oklch(43.7% 0.185 315.9);
Tailwind
colors: {
  custom: {
    50: '#a266b4',
    500: '#771f94',
    950: '#000000',
  },
}
SCSS
$custom: #771f94;
$custom-light: #a266b4;
$custom-dark: #000000;
JSON
{
  "hex": "#771f94",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 285.128,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.18492,
    "h": 315.9
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#771F94
secondary
#6CBE51
accent
#E83F69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #771F94

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

Preview Lab → · Contrast checker → · Palette generator →

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