#7D1573#7D1573

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

Color values

HEX#7D1573
RGBrgb(125, 21, 115)
HSLhsl(306, 71%, 29%)
HSVhsv(306, 83%, 49%)
CMYKcmyk(0%, 83.2%, 8%, 51%)
CIE-LABlab(29.75, 52.37, -28.34)
CIE-LCHlch(29.75, 59.55, 331.58°)
OKLaboklab(41.71% 0.151 -0.078)
OKLCHoklch(41.71% 0.17 332.7)
XYZxyz(11.8202, 6.1351, 16.7780)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1573 #157D1F
analogous
#53157D #7D1573 #7D153F
triadic
#7D1573 #737D15 #15737D
tetradic
#7D1573 #7D5315 #157D1F #153F7D
square
#7D1573 #7D5315 #157D1F #153F7D
split-complementary
#7D1573 #3F7D15 #157D53
monochromatic
#1A0418 #490C43 #7D1573 #B11EA3 #DC30CC

Accessibility & contrast

On white

9.43
#7D1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1573
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1573#FFFFFF#000000##FFFFFF
##7D15731.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#832244
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1573;
/* rgb */ color: rgb(125, 21, 115);
/* oklch */ color: oklch(41.7% 0.170 332.7);
Tailwind
colors: {
  custom: {
    50: '#a6619b',
    500: '#7d1573',
    950: '#000000',
  },
}
SCSS
$custom: #7d1573;
$custom-light: #a6619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1573",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 305.769,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41706,
    "c": 0.16993,
    "h": 332.7
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#7D1573
secondary
#3CB247
accent
#EE4B3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1573

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

Preview Lab → · Contrast checker → · Palette generator →

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