#7D1D71#7D1D71

#7D1D71 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.160 H 333.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7D1D71
RGBrgb(125, 29, 113)
HSLhsl(308, 62%, 30%)
HSVhsv(308, 77%, 49%)
CMYKcmyk(0%, 76.8%, 9.6%, 51%)
CIE-LABlab(30.48, 49.64, -25.92)
CIE-LCHlch(30.48, 56.00, 332.43°)
OKLaboklab(42.19% 0.1438 -0.0711)
OKLCHoklch(42.19% 0.16 333.7)
XYZxyz(11.8775, 6.4320, 16.2355)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D71 #1D7D29
analogous
#591D7D #7D1D71 #7D1D41
triadic
#7D1D71 #717D1D #1D717D
tetradic
#7D1D71 #7D591D #1D7D29 #1D417D
square
#7D1D71 #7D591D #1D7D29 #1D417D
split-complementary
#7D1D71 #417D1D #1D7D59
monochromatic
#1A0617 #4B1144 #7D1D71 #AF299E #D341C1

Accessibility & contrast

On white

9.19
#7D1D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D1D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D71
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D71#FFFFFF#000000##FFFFFF
##7D1D711.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F73
Deuteranopia (green-blind)
#3E4D6F
Tritanopia (blue-blind)
#832645
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1d71;
/* rgb */ color: rgb(125, 29, 113);
/* oklch */ color: oklch(42.2% 0.160 333.7);
Tailwind
colors: {
  custom: {
    50: '#a6649a',
    500: '#7d1d71',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d71;
$custom-light: #a6649a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d71",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 307.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4219,
    "c": 0.16044,
    "h": 333.7
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#7D1D71
secondary
#45B153
accent
#E55742
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1D71

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

Preview Lab → · Contrast checker → · Palette generator →

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