#771578#771578

#771578 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.171 H 327.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#771578
RGBrgb(119, 21, 120)
HSLhsl(299, 70%, 28%)
HSVhsv(299, 83%, 47%)
CMYKcmyk(0.8%, 82.5%, 0%, 52.9%)
CIE-LABlab(28.94, 51.90, -32.88)
CIE-LCHlch(28.94, 61.43, 327.65°)
OKLaboklab(41.02% 0.1444 -0.0913)
OKLCHoklch(41.02% 0.171 327.7)
XYZxyz(11.2659, 5.8152, 18.2947)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771578 #167815
analogous
#451578 #771578 #781547
triadic
#771578 #787715 #157877
tetradic
#771578 #784515 #167815 #154778
square
#771578 #784515 #167815 #154778
split-complementary
#771578 #477815 #157845
monochromatic
#1A051A #430C44 #771578 #AB1EAC #D92DDA

Accessibility & contrast

On white

9.71
#771578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#771578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771578
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771578#FFFFFF#000000##FFFFFF
##7715781.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#324876
Tritanopia (blue-blind)
#7B2747
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771578;
/* rgb */ color: rgb(119, 21, 120);
/* oklch */ color: oklch(41.0% 0.171 327.7);
Tailwind
colors: {
  custom: {
    50: '#a2619f',
    500: '#771578',
    950: '#000000',
  },
}
SCSS
$custom: #771578;
$custom-light: #a2619f;
$custom-dark: #000000;
JSON
{
  "hex": "#771578",
  "rgb": {
    "r": 119,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 299.394,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41017,
    "c": 0.17082,
    "h": 327.7
  },
  "luminance": 0.05814
}

Semantic roles & 50–950 ramp

primary
#771578
secondary
#3CAE3B
accent
#ED3B3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #771578

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

Preview Lab → · Contrast checker → · Palette generator →

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