#7A1578#7A1578

#7A1578 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.172 H 329.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7A1578
RGBrgb(122, 21, 120)
HSLhsl(301, 71%, 28%)
HSVhsv(301, 83%, 48%)
CMYKcmyk(0%, 82.8%, 1.6%, 52.2%)
CIE-LABlab(29.49, 52.53, -31.97)
CIE-LCHlch(29.49, 61.50, 328.68°)
OKLaboklab(41.51% 0.1477 -0.0886)
OKLCHoklch(41.51% 0.172 329)
XYZxyz(11.6843, 6.0309, 18.3143)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1578 #157A17
analogous
#49157A #7A1578 #7A1545
triadic
#7A1578 #787A15 #15787A
tetradic
#7A1578 #7A4915 #157A17 #15457A
square
#7A1578 #7A4915 #157A17 #15457A
split-complementary
#7A1578 #457A15 #157A49
monochromatic
#1A041A #460C45 #7A1578 #AE1EAB #DB2ED8

Accessibility & contrast

On white

9.52
#7A1578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A1578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1578
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1578#FFFFFF#000000##FFFFFF
##7A15781.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#354A76
Tritanopia (blue-blind)
#7E2647
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1578;
/* rgb */ color: rgb(122, 21, 120);
/* oklch */ color: oklch(41.5% 0.172 329.0);
Tailwind
colors: {
  custom: {
    50: '#a4619f',
    500: '#7a1578',
    950: '#000000',
  },
}
SCSS
$custom: #7a1578;
$custom-light: #a4619f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1578",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 301.188,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41511,
    "c": 0.17223,
    "h": 329
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#7A1578
secondary
#3BAF3E
accent
#ED3E3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1578

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

Preview Lab → · Contrast checker → · Palette generator →

#7A1578 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva