#7D1479#7D1479

#7D1479 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.175 H 329.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7D1479
RGBrgb(125, 20, 121)
HSLhsl(302, 72%, 28%)
HSVhsv(302, 84%, 49%)
CMYKcmyk(0%, 84%, 3.2%, 51%)
CIE-LABlab(30.01, 53.60, -31.74)
CIE-LCHlch(30.01, 62.29, 329.37°)
OKLaboklab(42.01% 0.1517 -0.0878)
OKLCHoklch(42.01% 0.175 329.9)
XYZxyz(12.1587, 6.2417, 18.6499)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1479 #147D18
analogous
#4C147D #7D1479 #7D1444
triadic
#7D1479 #797D14 #14797D
tetradic
#7D1479 #7D4C14 #147D18 #14447D
square
#7D1479 #7D4C14 #147D18 #14447D
split-complementary
#7D1479 #447D14 #147D4C
monochromatic
#1A041A #480C46 #7D1479 #B21CAC #DE2ED7

Accessibility & contrast

On white

9.34
#7D1479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1479
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1479#FFFFFF#000000##FFFFFF
##7D14791.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1479;
/* rgb */ color: rgb(125, 20, 121);
/* oklch */ color: oklch(42.0% 0.175 329.9);
Tailwind
colors: {
  custom: {
    50: '#a661a0',
    500: '#7d1479',
    950: '#000000',
  },
}
SCSS
$custom: #7d1479;
$custom-light: #a661a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1479",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 302.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42007,
    "c": 0.17527,
    "h": 329.9
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#7D1479
secondary
#3AB23F
accent
#EF4039
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D1479

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

Preview Lab → · Contrast checker → · Palette generator →

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