#781578#781578

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

Color values

HEX#781578
RGBrgb(120, 21, 120)
HSLhsl(300, 70%, 28%)
HSVhsv(300, 83%, 47%)
CMYKcmyk(0%, 82.5%, 0%, 52.9%)
CIE-LABlab(29.12, 52.11, -32.58)
CIE-LCHlch(29.12, 61.45, 327.99°)
OKLaboklab(41.18% 0.1455 -0.0904)
OKLCHoklch(41.18% 0.171 328.1)
XYZxyz(11.4039, 5.8863, 18.3012)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781578 #157815
analogous
#461578 #781578 #781546
triadic
#781578 #787815 #157878
tetradic
#781578 #784615 #157815 #154678
square
#781578 #784615 #157815 #154678
split-complementary
#781578 #467815 #157846
monochromatic
#1A051A #440C44 #781578 #AC1EAC #DA2DDA

Accessibility & contrast

On white

9.65
#781578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#781578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781578
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781578#FFFFFF#000000##FFFFFF
##7815781.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#334976
Tritanopia (blue-blind)
#7C2747
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781578;
/* rgb */ color: rgb(120, 21, 120);
/* oklch */ color: oklch(41.2% 0.171 328.1);
Tailwind
colors: {
  custom: {
    50: '#a3619f',
    500: '#781578',
    950: '#000000',
  },
}
SCSS
$custom: #781578;
$custom-light: #a3619f;
$custom-dark: #000000;
JSON
{
  "hex": "#781578",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41182,
    "c": 0.17128,
    "h": 328.1
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#781578
secondary
#3BAE3B
accent
#ED3B3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #781578

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

Preview Lab → · Contrast checker → · Palette generator →

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