#7D1576#7D1576

#7D1576 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.172 H 331.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7D1576
RGBrgb(125, 21, 118)
HSLhsl(304, 71%, 29%)
HSVhsv(304, 83%, 49%)
CMYKcmyk(0%, 83.2%, 5.6%, 51%)
CIE-LABlab(29.92, 52.85, -29.98)
CIE-LCHlch(29.92, 60.76, 330.44°)
OKLaboklab(41.89% 0.151 -0.0827)
OKLCHoklch(41.89% 0.172 331.3)
XYZxyz(11.9956, 6.2053, 17.7020)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1576 #157D1C
analogous
#50157D #7D1576 #7D1542
triadic
#7D1576 #767D15 #15767D
tetradic
#7D1576 #7D5015 #157D1C #15427D
square
#7D1576 #7D5015 #157D1C #15427D
split-complementary
#7D1576 #427D15 #157D50
monochromatic
#1A0419 #490C45 #7D1576 #B11EA7 #DC30D1

Accessibility & contrast

On white

9.37
#7D1576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7D1576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1576
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1576#FFFFFF#000000##FFFFFF
##7D15761.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073D78
Deuteranopia (green-blind)
#394B74
Tritanopia (blue-blind)
#822446
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1576;
/* rgb */ color: rgb(125, 21, 118);
/* oklch */ color: oklch(41.9% 0.172 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6619e',
    500: '#7d1576',
    950: '#000000',
  },
}
SCSS
$custom: #7d1576;
$custom-light: #a6619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1576",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 304.038,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41886,
    "c": 0.17217,
    "h": 331.3
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#7D1576
secondary
#3CB244
accent
#EE463A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1576

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

Preview Lab → · Contrast checker → · Palette generator →

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