#7A1579#7A1579

#7A1579 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.173 H 328.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7A1579
RGBrgb(122, 21, 121)
HSLhsl(301, 71%, 28%)
HSVhsv(301, 83%, 48%)
CMYKcmyk(0%, 82.8%, 0.8%, 52.2%)
CIE-LABlab(29.55, 52.70, -32.51)
CIE-LCHlch(29.55, 61.92, 328.33°)
OKLaboklab(41.57% 0.1477 -0.0901)
OKLCHoklch(41.57% 0.173 328.6)
XYZxyz(11.7453, 6.0553, 18.6356)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1579 #157A16
analogous
#48157A #7A1579 #7A1546
triadic
#7A1579 #797A15 #15797A
tetradic
#7A1579 #7A4815 #157A16 #15467A
square
#7A1579 #7A4815 #157A16 #15467A
split-complementary
#7A1579 #467A15 #157A48
monochromatic
#1A041A #460C45 #7A1579 #AE1EAD #DB2ED9

Accessibility & contrast

On white

9.50
#7A1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1579
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1579#FFFFFF#000000##FFFFFF
##7A15791.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#7E2748
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1579;
/* rgb */ color: rgb(122, 21, 121);
/* oklch */ color: oklch(41.6% 0.173 328.6);
Tailwind
colors: {
  custom: {
    50: '#a461a0',
    500: '#7a1579',
    950: '#000000',
  },
}
SCSS
$custom: #7a1579;
$custom-light: #a461a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1579",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 300.594,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41574,
    "c": 0.17301,
    "h": 328.6
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#7A1579
secondary
#3BAF3D
accent
#ED3C3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7A1579

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

Preview Lab → · Contrast checker → · Palette generator →

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