#771F83#771F83

#771F83 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.170 H 322.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#771F83
RGBrgb(119, 31, 131)
HSLhsl(293, 62%, 32%)
HSVhsv(293, 76%, 51%)
CMYKcmyk(9.2%, 76.3%, 0%, 48.6%)
CIE-LABlab(30.74, 50.72, -36.93)
CIE-LCHlch(30.74, 62.74, 323.94°)
OKLaboklab(42.52% 0.1349 -0.1032)
OKLCHoklch(42.52% 0.17 322.6)
XYZxyz(12.1941, 6.5413, 22.0886)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F83 #2B831F
analogous
#451F83 #771F83 #831F5D
triadic
#771F83 #83771F #1F8377
tetradic
#771F83 #83451F #2B831F #1F5D83
square
#771F83 #83451F #2B831F #1F5D83
split-complementary
#771F83 #5D831F #1F8345
monochromatic
#1D0820 #4A1352 #771F83 #A42BB4 #C349D4

Accessibility & contrast

On white

9.10
#771F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#771F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F83
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F83#FFFFFF#000000##FFFFFF
##771F831.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#2E4C81
Tritanopia (blue-blind)
#793250
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771f83;
/* rgb */ color: rgb(119, 31, 131);
/* oklch */ color: oklch(42.5% 0.170 322.6);
Tailwind
colors: {
  custom: {
    50: '#a265a7',
    500: '#771f83',
    950: '#000000',
  },
}
SCSS
$custom: #771f83;
$custom-light: #a265a7;
$custom-dark: #000000;
JSON
{
  "hex": "#771f83",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 292.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42519,
    "c": 0.16988,
    "h": 322.6
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#771F83
secondary
#55B648
accent
#E54356
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771F83

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

Preview Lab → · Contrast checker → · Palette generator →

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