#7D1578#7D1578

#7D1578 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.174 H 330.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7D1578
RGBrgb(125, 21, 120)
HSLhsl(303, 71%, 29%)
HSVhsv(303, 83%, 49%)
CMYKcmyk(0%, 83.2%, 4%, 51%)
CIE-LABlab(30.04, 53.18, -31.06)
CIE-LCHlch(30.04, 61.58, 329.71°)
OKLaboklab(42.01% 0.151 -0.0858)
OKLCHoklch(42.01% 0.174 330.4)
XYZxyz(12.1157, 6.2534, 18.3346)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1578 #157D1A
analogous
#4E157D #7D1578 #7D1544
triadic
#7D1578 #787D15 #15787D
tetradic
#7D1578 #7D4E15 #157D1A #15447D
square
#7D1578 #7D4E15 #157D1A #15447D
split-complementary
#7D1578 #447D15 #157D4E
monochromatic
#1A0419 #490C46 #7D1578 #B11EAA #DC30D4

Accessibility & contrast

On white

9.33
#7D1578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D1578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1578
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1578#FFFFFF#000000##FFFFFF
##7D15781.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7B
Deuteranopia (green-blind)
#384C76
Tritanopia (blue-blind)
#822547
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1578;
/* rgb */ color: rgb(125, 21, 120);
/* oklch */ color: oklch(42.0% 0.174 330.4);
Tailwind
colors: {
  custom: {
    50: '#a6629f',
    500: '#7d1578',
    950: '#000000',
  },
}
SCSS
$custom: #7d1578;
$custom-light: #a6629f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1578",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 302.885,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42008,
    "c": 0.17367,
    "h": 330.4
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#7D1578
secondary
#3CB241
accent
#EE423A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1578

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

Preview Lab → · Contrast checker → · Palette generator →

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