#7C1573#7C1573

#7C1573 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.169 H 332.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7C1573
RGBrgb(124, 21, 115)
HSLhsl(305, 71%, 28%)
HSVhsv(305, 83%, 49%)
CMYKcmyk(0%, 83.1%, 7.3%, 51.4%)
CIE-LABlab(29.56, 52.15, -28.65)
CIE-LCHlch(29.56, 59.50, 331.22°)
OKLaboklab(41.54% 0.1499 -0.0789)
OKLCHoklch(41.54% 0.169 332.2)
XYZxyz(11.6749, 6.0602, 16.7712)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1573 #157C1E
analogous
#51157C #7C1573 #7C153F
triadic
#7C1573 #737C15 #15737C
tetradic
#7C1573 #7C5115 #157C1E #153F7C
square
#7C1573 #7C5115 #157C1E #153F7C
split-complementary
#7C1573 #3F7C15 #157C51
monochromatic
#1A0418 #480C42 #7C1573 #B01EA4 #DC30CD

Accessibility & contrast

On white

9.49
#7C1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1573
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1573#FFFFFF#000000##FFFFFF
##7C15731.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D75
Deuteranopia (green-blind)
#394B71
Tritanopia (blue-blind)
#822344
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1573;
/* rgb */ color: rgb(124, 21, 115);
/* oklch */ color: oklch(41.5% 0.169 332.2);
Tailwind
colors: {
  custom: {
    50: '#a5619b',
    500: '#7c1573',
    950: '#000000',
  },
}
SCSS
$custom: #7c1573;
$custom-light: #a5619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1573",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 305.243,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41538,
    "c": 0.16942,
    "h": 332.2
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#7C1573
secondary
#3CB146
accent
#EE4A3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1573

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

Preview Lab → · Contrast checker → · Palette generator →

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