#7D2D71#7D2D71

#7D2D71 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.139 H 334.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7D2D71
RGBrgb(125, 45, 113)
HSLhsl(309, 47%, 33%)
HSVhsv(309, 64%, 49%)
CMYKcmyk(0%, 64%, 9.6%, 51%)
CIE-LABlab(32.77, 43.23, -22.34)
CIE-LCHlch(32.77, 48.66, 332.67°)
OKLaboklab(43.85% 0.125 -0.0609)
OKLCHoklch(43.85% 0.139 334)
XYZxyz(12.3765, 7.4300, 16.4019)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D71 #2D7D39
analogous
#612D7D #7D2D71 #7D2D49
triadic
#7D2D71 #717D2D #2D717D
tetradic
#7D2D71 #7D612D #2D7D39 #2D497D
square
#7D2D71 #7D612D #2D7D39 #2D497D
split-complementary
#7D2D71 #497D2D #2D7D61
monochromatic
#230D20 #501D48 #7D2D71 #AA3D9A #C55FB6

Accessibility & contrast

On white

8.45
#7D2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7D2D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D71
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D71#FFFFFF#000000##FFFFFF
##7D2D711.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#45516F
Tritanopia (blue-blind)
#83334A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2d71;
/* rgb */ color: rgb(125, 45, 113);
/* oklch */ color: oklch(43.8% 0.139 334.0);
Tailwind
colors: {
  custom: {
    50: '#a56c9a',
    500: '#7d2d71',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d71;
$custom-light: #a56c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d71",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 309,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43849,
    "c": 0.13909,
    "h": 334
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#7D2D71
secondary
#5AAC66
accent
#D76551
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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