#7D1472#7D1472

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

Color values

HEX#7D1472
RGBrgb(125, 20, 114)
HSLhsl(306, 72%, 28%)
HSVhsv(306, 84%, 49%)
CMYKcmyk(0%, 84%, 8.8%, 51%)
CIE-LABlab(29.60, 52.47, -27.94)
CIE-LCHlch(29.60, 59.45, 331.97°)
OKLaboklab(41.58% 0.1517 -0.0768)
OKLCHoklch(41.58% 0.17 333.1)
XYZxyz(11.7450, 6.0762, 16.4706)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1472 #147D1F
analogous
#53147D #7D1472 #7D143D
triadic
#7D1472 #727D14 #14727D
tetradic
#7D1472 #7D5314 #147D1F #143D7D
square
#7D1472 #7D5314 #147D1F #143D7D
split-complementary
#7D1472 #3D7D14 #147D53
monochromatic
#1A0418 #480C42 #7D1472 #B21CA2 #DE2ECB

Accessibility & contrast

On white

9.48
#7D1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1472
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1472#FFFFFF#000000##FFFFFF
##7D14721.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3C74
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#832143
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1472;
/* rgb */ color: rgb(125, 20, 114);
/* oklch */ color: oklch(41.6% 0.170 333.1);
Tailwind
colors: {
  custom: {
    50: '#a6619b',
    500: '#7d1472',
    950: '#000000',
  },
}
SCSS
$custom: #7d1472;
$custom-light: #a6619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1472",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 306.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41583,
    "c": 0.17006,
    "h": 333.1
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#7D1472
secondary
#3AB247
accent
#EF4C39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1472

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

Preview Lab → · Contrast checker → · Palette generator →

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