#771F85#771F85

#771F85 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.172 H 321.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#771F85
RGBrgb(119, 31, 133)
HSLhsl(292, 62%, 32%)
HSVhsv(292, 77%, 52%)
CMYKcmyk(10.5%, 76.7%, 0%, 47.8%)
CIE-LABlab(30.87, 51.10, -37.97)
CIE-LCHlch(30.87, 63.66, 323.38°)
OKLaboklab(42.65% 0.1348 -0.1062)
OKLCHoklch(42.65% 0.172 321.8)
XYZxyz(12.3309, 6.5961, 22.8094)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F85 #2D851F
analogous
#441F85 #771F85 #851F60
triadic
#771F85 #85771F #1F8577
tetradic
#771F85 #85441F #2D851F #1F6085
square
#771F85 #85441F #2D851F #1F6085
split-complementary
#771F85 #60851F #1F8544
monochromatic
#1E0822 #4B1353 #771F85 #A32BB7 #C24AD5

Accessibility & contrast

On white

9.06
#771F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771F85
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F85#FFFFFF#000000##FFFFFF
##771F851.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#2D4C83
Tritanopia (blue-blind)
#783351
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771f85;
/* rgb */ color: rgb(119, 31, 133);
/* oklch */ color: oklch(42.7% 0.172 321.8);
Tailwind
colors: {
  custom: {
    50: '#a265a9',
    500: '#771f85',
    950: '#000000',
  },
}
SCSS
$custom: #771f85;
$custom-light: #a265a9;
$custom-dark: #000000;
JSON
{
  "hex": "#771f85",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 291.765,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.17162,
    "h": 321.8
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#771F85
secondary
#58B749
accent
#E54359
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771F85

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

Preview Lab → · Contrast checker → · Palette generator →

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