#7A1573#7A1573

#7A1573 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.168 H 331.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7A1573
RGBrgb(122, 21, 115)
HSLhsl(304, 71%, 28%)
HSVhsv(304, 83%, 48%)
CMYKcmyk(0%, 82.8%, 5.7%, 52.2%)
CIE-LABlab(29.19, 51.71, -29.26)
CIE-LCHlch(29.19, 59.42, 330.49°)
OKLaboklab(41.2% 0.1478 -0.0807)
OKLCHoklch(41.2% 0.168 331.4)
XYZxyz(11.3887, 5.9127, 16.7578)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1573 #157A1C
analogous
#4E157A #7A1573 #7A1541
triadic
#7A1573 #737A15 #15737A
tetradic
#7A1573 #7A4E15 #157A1C #15417A
square
#7A1573 #7A4E15 #157A1C #15417A
split-complementary
#7A1573 #417A15 #157A4E
monochromatic
#1A0419 #460C42 #7A1573 #AE1EA4 #DB2ECF

Accessibility & contrast

On white

9.62
#7A1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7A1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1573
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1573#FFFFFF#000000##FFFFFF
##7A15731.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083C75
Deuteranopia (green-blind)
#374A71
Tritanopia (blue-blind)
#7F2344
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1573;
/* rgb */ color: rgb(122, 21, 115);
/* oklch */ color: oklch(41.2% 0.168 331.4);
Tailwind
colors: {
  custom: {
    50: '#a4619b',
    500: '#7a1573',
    950: '#000000',
  },
}
SCSS
$custom: #7a1573;
$custom-light: #a4619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1573",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 304.158,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41202,
    "c": 0.16841,
    "h": 331.4
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#7A1573
secondary
#3BAF43
accent
#ED473A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1573

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

Preview Lab → · Contrast checker → · Palette generator →

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