#7D1376#7D1376

#7D1376 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.174 H 331.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7D1376
RGBrgb(125, 19, 118)
HSLhsl(304, 74%, 28%)
HSVhsv(304, 85%, 49%)
CMYKcmyk(0%, 84.8%, 5.6%, 51%)
CIE-LABlab(29.75, 53.36, -30.25)
CIE-LCHlch(29.75, 61.34, 330.45°)
OKLaboklab(41.76% 0.1525 -0.0835)
OKLCHoklch(41.76% 0.174 331.3)
XYZxyz(11.9603, 6.1347, 17.6902)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1376 #137D1A
analogous
#4F137D #7D1376 #7D1341
triadic
#7D1376 #767D13 #13767D
tetradic
#7D1376 #7D4F13 #137D1A #13417D
square
#7D1376 #7D4F13 #137D1A #13417D
split-complementary
#7D1376 #417D13 #137D4F
monochromatic
#1B0419 #480B44 #7D1376 #B21BA8 #DF2CD3

Accessibility & contrast

On white

9.43
#7D1376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D1376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1376
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1376#FFFFFF#000000##FFFFFF
##7D13761.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D78
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#822346
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1376;
/* rgb */ color: rgb(125, 19, 118);
/* oklch */ color: oklch(41.8% 0.174 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6619e',
    500: '#7d1376',
    950: '#000000',
  },
}
SCSS
$custom: #7d1376;
$custom-light: #a6619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1376",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 303.962,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41762,
    "c": 0.17384,
    "h": 331.3
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#7D1376
secondary
#39B341
accent
#F04438
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1376

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

Preview Lab → · Contrast checker → · Palette generator →

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