#771996#771996

#771996 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.4% C 0.192 H 315.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#771996
RGBrgb(119, 25, 150)
HSLhsl(285, 71%, 34%)
HSVhsv(285, 83%, 59%)
CMYKcmyk(20.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(31.39, 56.34, -47.64)
CIE-LCHlch(31.39, 73.78, 319.78°)
OKLaboklab(43.4% 0.1373 -0.1345)
OKLCHoklch(43.4% 0.192 315.6)
XYZxyz(13.4595, 6.8197, 29.4556)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771996 #389619
analogous
#391996 #771996 #961977
triadic
#771996 #967719 #199677
tetradic
#771996 #963919 #389619 #197796
square
#771996 #963919 #389619 #197796
split-complementary
#771996 #779619 #199639
monochromatic
#24082D #4D1062 #771996 #A122CA #BB49E1

Accessibility & contrast

On white

8.88
#771996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#771996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771996
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771996#FFFFFF#000000##FFFFFF
##7719961.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#134C93
Tritanopia (blue-blind)
#753859
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771996;
/* rgb */ color: rgb(119, 25, 150);
/* oklch */ color: oklch(43.4% 0.192 315.6);
Tailwind
colors: {
  custom: {
    50: '#a363b6',
    500: '#771996',
    950: '#000000',
  },
}
SCSS
$custom: #771996;
$custom-light: #a363b6;
$custom-dark: #000000;
JSON
{
  "hex": "#771996",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 285.12,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43401,
    "c": 0.19222,
    "h": 315.6
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#771996
secondary
#67C249
accent
#EE3A66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771996

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

Preview Lab → · Contrast checker → · Palette generator →

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