#7D1D7F#7D1D7F

#7D1D7F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.172 H 327.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7D1D7F
RGBrgb(125, 29, 127)
HSLhsl(299, 63%, 31%)
HSVhsv(299, 77%, 50%)
CMYKcmyk(1.6%, 77.2%, 0%, 50.2%)
CIE-LABlab(31.28, 52.00, -33.50)
CIE-LCHlch(31.28, 61.86, 327.21°)
OKLaboklab(43.03% 0.1441 -0.093)
OKLCHoklch(43.03% 0.172 327.2)
XYZxyz(12.7274, 6.7719, 20.7113)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D7F #1F7F1D
analogous
#4C1D7F #7D1D7F #7F1D50
triadic
#7D1D7F #7F7D1D #1D7F7D
tetradic
#7D1D7F #7F4C1D #1F7F1D #1D507F
square
#7D1D7F #7F4C1D #1F7F1D #1D507F
split-complementary
#7D1D7F #507F1D #1D7F4C
monochromatic
#1B061B #4C124D #7D1D7F #AE28B1 #D142D4

Accessibility & contrast

On white

8.92
#7D1D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D1D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D7F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D7F#FFFFFF#000000##FFFFFF
##7D1D7F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024282
Deuteranopia (green-blind)
#364E7D
Tritanopia (blue-blind)
#812D4D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1d7f;
/* rgb */ color: rgb(125, 29, 127);
/* oklch */ color: oklch(43.0% 0.172 327.2);
Tailwind
colors: {
  custom: {
    50: '#a665a4',
    500: '#7d1d7f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d7f;
$custom-light: #a665a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d7f",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 298.776,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43026,
    "c": 0.1715,
    "h": 327.2
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#7D1D7F
secondary
#48B245
accent
#E64245
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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