#781577#781577

#781577 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.171 H 328.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#781577
RGBrgb(120, 21, 119)
HSLhsl(301, 70%, 28%)
HSVhsv(301, 83%, 47%)
CMYKcmyk(0%, 82.5%, 0.8%, 52.9%)
CIE-LABlab(29.06, 51.94, -32.04)
CIE-LCHlch(29.06, 61.03, 328.33°)
OKLaboklab(41.12% 0.1455 -0.0888)
OKLCHoklch(41.12% 0.171 328.6)
XYZxyz(11.3436, 5.8622, 17.9832)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781577 #157816
analogous
#471578 #781577 #781545
triadic
#781577 #777815 #157778
tetradic
#781577 #784715 #157816 #154578
square
#781577 #784715 #157816 #154578
split-complementary
#781577 #457815 #157847
monochromatic
#1A051A #440C43 #781577 #AC1EAB #DA2DD9

Accessibility & contrast

On white

9.67
#781577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781577
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781577#FFFFFF#000000##FFFFFF
##7815771.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#334975
Tritanopia (blue-blind)
#7C2647
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781577;
/* rgb */ color: rgb(120, 21, 119);
/* oklch */ color: oklch(41.1% 0.171 328.6);
Tailwind
colors: {
  custom: {
    50: '#a2619f',
    500: '#781577',
    950: '#000000',
  },
}
SCSS
$custom: #781577;
$custom-light: #a2619f;
$custom-dark: #000000;
JSON
{
  "hex": "#781577",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 300.606,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41118,
    "c": 0.17051,
    "h": 328.6
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#781577
secondary
#3BAE3C
accent
#ED3D3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #781577

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

Preview Lab → · Contrast checker → · Palette generator →

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