#7B1579#7B1579

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

Color values

HEX#7B1579
RGBrgb(123, 21, 121)
HSLhsl(301, 71%, 28%)
HSVhsv(301, 83%, 48%)
CMYKcmyk(0%, 82.9%, 1.6%, 51.8%)
CIE-LABlab(29.73, 52.91, -32.20)
CIE-LCHlch(29.73, 61.94, 328.68°)
OKLaboklab(41.74% 0.1488 -0.0892)
OKLCHoklch(41.74% 0.173 329)
XYZxyz(11.8876, 6.1287, 18.6423)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1579 #157B17
analogous
#4A157B #7B1579 #7B1546
triadic
#7B1579 #797B15 #15797B
tetradic
#7B1579 #7B4A15 #157B17 #15467B
square
#7B1579 #7B4A15 #157B17 #15467B
split-complementary
#7B1579 #467B15 #157B4A
monochromatic
#1A041A #470C46 #7B1579 #AF1EAC #DB2FD8

Accessibility & contrast

On white

9.44
#7B1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1579
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1579#FFFFFF#000000##FFFFFF
##7B15791.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#7F2648
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1579;
/* rgb */ color: rgb(123, 21, 121);
/* oklch */ color: oklch(41.7% 0.173 329.0);
Tailwind
colors: {
  custom: {
    50: '#a561a0',
    500: '#7b1579',
    950: '#000000',
  },
}
SCSS
$custom: #7b1579;
$custom-light: #a561a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1579",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 301.176,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41739,
    "c": 0.17348,
    "h": 329
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#7B1579
secondary
#3BB03E
accent
#EE3E3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B1579

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

Preview Lab → · Contrast checker → · Palette generator →

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