#7D1579#7D1579

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

Color values

HEX#7D1579
RGBrgb(125, 21, 121)
HSLhsl(302, 71%, 29%)
HSVhsv(302, 83%, 49%)
CMYKcmyk(0%, 83.2%, 3.2%, 51%)
CIE-LABlab(30.10, 53.34, -31.60)
CIE-LCHlch(30.10, 61.99, 329.36°)
OKLaboklab(42.07% 0.151 -0.0874)
OKLCHoklch(42.07% 0.174 329.9)
XYZxyz(12.1767, 6.2778, 18.6559)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1579 #157D19
analogous
#4D157D #7D1579 #7D1545
triadic
#7D1579 #797D15 #15797D
tetradic
#7D1579 #7D4D15 #157D19 #15457D
square
#7D1579 #7D4D15 #157D19 #15457D
split-complementary
#7D1579 #457D15 #157D4D
monochromatic
#1A0419 #490C46 #7D1579 #B11EAC #DC30D6

Accessibility & contrast

On white

9.31
#7D1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1579
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1579#FFFFFF#000000##FFFFFF
##7D15791.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#822648
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1579;
/* rgb */ color: rgb(125, 21, 121);
/* oklch */ color: oklch(42.1% 0.174 329.9);
Tailwind
colors: {
  custom: {
    50: '#a662a0',
    500: '#7d1579',
    950: '#000000',
  },
}
SCSS
$custom: #7d1579;
$custom-light: #a662a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1579",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 302.308,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4207,
    "c": 0.17443,
    "h": 329.9
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#7D1579
secondary
#3CB240
accent
#EE413A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D1579

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

Preview Lab → · Contrast checker → · Palette generator →

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