#7D1371#7D1371

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

Color values

HEX#7D1371
RGBrgb(125, 19, 113)
HSLhsl(307, 74%, 28%)
HSVhsv(307, 85%, 49%)
CMYKcmyk(0%, 84.8%, 9.6%, 51%)
CIE-LABlab(29.46, 52.57, -27.53)
CIE-LCHlch(29.46, 59.34, 332.36°)
OKLaboklab(41.46% 0.1524 -0.0756)
OKLCHoklch(41.46% 0.17 333.6)
XYZxyz(11.6711, 6.0190, 16.1667)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1371 #137D1F
analogous
#54137D #7D1371 #7D133C
triadic
#7D1371 #717D13 #13717D
tetradic
#7D1371 #7D5413 #137D1F #133C7D
square
#7D1371 #7D5413 #137D1F #133C7D
split-complementary
#7D1371 #3C7D13 #137D54
monochromatic
#1B0418 #480B41 #7D1371 #B21BA1 #DF2CCB

Accessibility & contrast

On white

9.53
#7D1371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D1371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1371
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1371#FFFFFF#000000##FFFFFF
##7D13711.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1371;
/* rgb */ color: rgb(125, 19, 113);
/* oklch */ color: oklch(41.5% 0.170 333.6);
Tailwind
colors: {
  custom: {
    50: '#a6619a',
    500: '#7d1371',
    950: '#000000',
  },
}
SCSS
$custom: #7d1371;
$custom-light: #a6619a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1371",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 306.792,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41462,
    "c": 0.17016,
    "h": 333.6
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#7D1371
secondary
#39B347
accent
#F04C38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1371

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

Preview Lab → · Contrast checker → · Palette generator →

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