#7A1576#7A1576

#7A1576 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.171 H 330.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7A1576
RGBrgb(122, 21, 118)
HSLhsl(302, 71%, 28%)
HSVhsv(302, 83%, 48%)
CMYKcmyk(0%, 82.8%, 3.3%, 52.2%)
CIE-LABlab(29.37, 52.20, -30.89)
CIE-LCHlch(29.37, 60.66, 329.38°)
OKLaboklab(41.39% 0.1478 -0.0854)
OKLCHoklch(41.39% 0.171 330)
XYZxyz(11.5642, 5.9828, 17.6818)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1576 #157A19
analogous
#4B157A #7A1576 #7A1543
triadic
#7A1576 #767A15 #15767A
tetradic
#7A1576 #7A4B15 #157A19 #15437A
square
#7A1576 #7A4B15 #157A19 #15437A
split-complementary
#7A1576 #437A15 #157A4B
monochromatic
#1A0419 #460C43 #7A1576 #AE1EA9 #DB2ED4

Accessibility & contrast

On white

9.56
#7A1576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7A1576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1576
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1576#FFFFFF#000000##FFFFFF
##7A15761.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013D78
Deuteranopia (green-blind)
#364A74
Tritanopia (blue-blind)
#7F2546
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1576;
/* rgb */ color: rgb(122, 21, 118);
/* oklch */ color: oklch(41.4% 0.171 330.0);
Tailwind
colors: {
  custom: {
    50: '#a4619e',
    500: '#7a1576',
    950: '#000000',
  },
}
SCSS
$custom: #7a1576;
$custom-light: #a4619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1576",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 302.376,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41386,
    "c": 0.1707,
    "h": 330
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#7A1576
secondary
#3BAF40
accent
#ED413A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1576

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

Preview Lab → · Contrast checker → · Palette generator →

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