#771785#771785

#771785 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.180 H 322.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#771785
RGBrgb(119, 23, 133)
HSLhsl(292, 71%, 31%)
HSVhsv(292, 83%, 52%)
CMYKcmyk(10.5%, 82.7%, 0%, 47.8%)
CIE-LABlab(29.98, 53.65, -39.39)
CIE-LCHlch(29.98, 66.56, 323.71°)
OKLaboklab(42.03% 0.1417 -0.1103)
OKLCHoklch(42.03% 0.18 322.1)
XYZxyz(12.1473, 6.2289, 22.7482)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771785 #258517
analogous
#401785 #771785 #85175C
triadic
#771785 #857717 #178577
tetradic
#771785 #854017 #258517 #175C85
square
#771785 #854017 #258517 #175C85
split-complementary
#771785 #5C8517 #178540
monochromatic
#1A051D #480E51 #771785 #A620B9 #C83ADD

Accessibility & contrast

On white

9.35
#771785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#771785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771785
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771785#FFFFFF#000000##FFFFFF
##7717851.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#284A83
Tritanopia (blue-blind)
#782F4F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771785;
/* rgb */ color: rgb(119, 23, 133);
/* oklch */ color: oklch(42.0% 0.180 322.1);
Tailwind
colors: {
  custom: {
    50: '#a262a9',
    500: '#771785',
    950: '#000000',
  },
}
SCSS
$custom: #771785;
$custom-light: #a262a9;
$custom-dark: #000000;
JSON
{
  "hex": "#771785",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 292.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42026,
    "c": 0.17957,
    "h": 322.1
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#771785
secondary
#4EB93F
accent
#ED3B51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771785

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

Preview Lab → · Contrast checker → · Palette generator →

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