#771689#771689

#771689 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.184 H 320.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#771689
RGBrgb(119, 22, 137)
HSLhsl(291, 72%, 31%)
HSVhsv(291, 84%, 54%)
CMYKcmyk(13.1%, 83.9%, 0%, 46.3%)
CIE-LABlab(30.16, 54.67, -41.60)
CIE-LCHlch(30.16, 68.70, 322.74°)
OKLaboklab(42.24% 0.1418 -0.1168)
OKLCHoklch(42.24% 0.184 320.5)
XYZxyz(12.4095, 6.3026, 24.2249)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771689 #288916
analogous
#3D1689 #771689 #891661
triadic
#771689 #897716 #168977
tetradic
#771689 #893D16 #288916 #166189
square
#771689 #893D16 #288916 #166189
split-complementary
#771689 #618916 #16893D
monochromatic
#1B0520 #490E54 #771689 #A51EBE #C53ADF

Accessibility & contrast

On white

9.29
#771689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#771689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771689
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771689#FFFFFF#000000##FFFFFF
##7716891.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#244A87
Tritanopia (blue-blind)
#783051
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771689;
/* rgb */ color: rgb(119, 22, 137);
/* oklch */ color: oklch(42.2% 0.184 320.5);
Tailwind
colors: {
  custom: {
    50: '#a262ac',
    500: '#771689',
    950: '#000000',
  },
}
SCSS
$custom: #771689;
$custom-light: #a262ac;
$custom-dark: #000000;
JSON
{
  "hex": "#771689",
  "rgb": {
    "r": 119,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 290.609,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.18374,
    "h": 320.5
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#771689
secondary
#52BD3E
accent
#EF3955
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771689

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

Preview Lab → · Contrast checker → · Palette generator →

#771689 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva