#771579#771579

#771579 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.172 H 327.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#771579
RGBrgb(119, 21, 121)
HSLhsl(299, 70%, 28%)
HSVhsv(299, 83%, 47%)
CMYKcmyk(1.7%, 82.6%, 0%, 52.5%)
CIE-LABlab(29.00, 52.07, -33.41)
CIE-LCHlch(29.00, 61.87, 327.31°)
OKLaboklab(41.08% 0.1443 -0.0929)
OKLCHoklch(41.08% 0.172 327.2)
XYZxyz(11.3269, 5.8396, 18.6160)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771579 #177915
analogous
#451579 #771579 #791549
triadic
#771579 #797715 #157977
tetradic
#771579 #794515 #177915 #154979
square
#771579 #794515 #177915 #154979
split-complementary
#771579 #497915 #157945
monochromatic
#1A051A #440C45 #771579 #AA1EAD #D72EDB

Accessibility & contrast

On white

9.69
#771579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#771579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771579
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771579#FFFFFF#000000##FFFFFF
##7715791.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#314977
Tritanopia (blue-blind)
#7B2748
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771579;
/* rgb */ color: rgb(119, 21, 121);
/* oklch */ color: oklch(41.1% 0.172 327.2);
Tailwind
colors: {
  custom: {
    50: '#a261a0',
    500: '#771579',
    950: '#000000',
  },
}
SCSS
$custom: #771579;
$custom-light: #a261a0;
$custom-dark: #000000;
JSON
{
  "hex": "#771579",
  "rgb": {
    "r": 119,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 298.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41082,
    "c": 0.17161,
    "h": 327.2
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#771579
secondary
#3EAF3B
accent
#ED3B3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #771579

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

Preview Lab → · Contrast checker → · Palette generator →

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