#7D1471#7D1471

#7D1471 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.169 H 333.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7D1471
RGBrgb(125, 20, 113)
HSLhsl(307, 72%, 28%)
HSVhsv(307, 84%, 49%)
CMYKcmyk(0%, 84%, 9.6%, 51%)
CIE-LABlab(29.55, 52.32, -27.39)
CIE-LCHlch(29.55, 59.05, 332.37°)
OKLaboklab(41.52% 0.1517 -0.0752)
OKLCHoklch(41.52% 0.169 333.6)
XYZxyz(11.6883, 6.0536, 16.1725)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1471 #147D20
analogous
#54147D #7D1471 #7D143C
triadic
#7D1471 #717D14 #14717D
tetradic
#7D1471 #7D5414 #147D20 #143C7D
square
#7D1471 #7D5414 #147D20 #143C7D
split-complementary
#7D1471 #3C7D14 #147D54
monochromatic
#1A0418 #480C41 #7D1471 #B21CA1 #DE2EC9

Accessibility & contrast

On white

9.50
#7D1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1471
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1471#FFFFFF#000000##FFFFFF
##7D14711.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3C73
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#832043
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1471;
/* rgb */ color: rgb(125, 20, 113);
/* oklch */ color: oklch(41.5% 0.169 333.6);
Tailwind
colors: {
  custom: {
    50: '#a6619a',
    500: '#7d1471',
    950: '#000000',
  },
}
SCSS
$custom: #7d1471;
$custom-light: #a6619a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1471",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 306.857,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41524,
    "c": 0.16932,
    "h": 333.6
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#7D1471
secondary
#3AB248
accent
#EF4E39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1471

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

Preview Lab → · Contrast checker → · Palette generator →

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