#7D1373#7D1373

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

Color values

HEX#7D1373
RGBrgb(125, 19, 115)
HSLhsl(306, 74%, 28%)
HSVhsv(306, 85%, 49%)
CMYKcmyk(0%, 84.8%, 8%, 51%)
CIE-LABlab(29.57, 52.88, -28.62)
CIE-LCHlch(29.57, 60.13, 331.58°)
OKLaboklab(41.58% 0.1525 -0.0788)
OKLCHoklch(41.58% 0.172 332.7)
XYZxyz(11.7849, 6.0646, 16.7662)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1373 #137D1D
analogous
#52137D #7D1373 #7D133E
triadic
#7D1373 #737D13 #13737D
tetradic
#7D1373 #7D5213 #137D1D #133E7D
square
#7D1373 #7D5213 #137D1D #133E7D
split-complementary
#7D1373 #3E7D13 #137D52
monochromatic
#1B0418 #480B42 #7D1373 #B21BA4 #DF2CCE

Accessibility & contrast

On white

9.49
#7D1373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1373
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1373#FFFFFF#000000##FFFFFF
##7D13731.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#832144
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1373;
/* rgb */ color: rgb(125, 19, 115);
/* oklch */ color: oklch(41.6% 0.172 332.7);
Tailwind
colors: {
  custom: {
    50: '#a6619b',
    500: '#7d1373',
    950: '#000000',
  },
}
SCSS
$custom: #7d1373;
$custom-light: #a6619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1373",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 305.66,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4158,
    "c": 0.17162,
    "h": 332.7
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#7D1373
secondary
#39B345
accent
#F04938
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1373

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

Preview Lab → · Contrast checker → · Palette generator →

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