#7D2C71#7D2C71

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

Color values

HEX#7D2C71
RGBrgb(125, 44, 113)
HSLhsl(309, 48%, 33%)
HSVhsv(309, 65%, 49%)
CMYKcmyk(0%, 64.8%, 9.6%, 51%)
CIE-LABlab(32.60, 43.68, -22.59)
CIE-LCHlch(32.60, 49.18, 332.65°)
OKLaboklab(43.73% 0.1264 -0.0616)
OKLCHoklch(43.73% 0.141 334)
XYZxyz(12.3388, 7.3546, 16.3893)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C71 #2C7D38
analogous
#602C7D #7D2C71 #7D2C48
triadic
#7D2C71 #717D2C #2C717D
tetradic
#7D2C71 #7D602C #2C7D38 #2C487D
square
#7D2C71 #7D602C #2C7D38 #2C487D
split-complementary
#7D2C71 #487D2C #2C7D60
monochromatic
#220C1F #501C48 #7D2C71 #AA3C9A #C65DB7

Accessibility & contrast

On white

8.50
#7D2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7D2C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C71
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C71#FFFFFF#000000##FFFFFF
##7D2C711.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2c71;
/* rgb */ color: rgb(125, 44, 113);
/* oklch */ color: oklch(43.7% 0.141 334.0);
Tailwind
colors: {
  custom: {
    50: '#a56b9a',
    500: '#7d2c71',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c71;
$custom-light: #a56b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c71",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 308.889,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43728,
    "c": 0.1406,
    "h": 334
  },
  "luminance": 0.07354
}

Semantic roles & 50–950 ramp

primary
#7D2C71
secondary
#59AC65
accent
#D86450
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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