#7D2571#7D2571

#7D2571 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.151 H 333.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7D2571
RGBrgb(125, 37, 113)
HSLhsl(308, 54%, 32%)
HSVhsv(308, 70%, 49%)
CMYKcmyk(0%, 70.4%, 9.6%, 51%)
CIE-LABlab(31.52, 46.68, -24.28)
CIE-LCHlch(31.52, 52.62, 332.52°)
OKLaboklab(42.95% 0.1352 -0.0664)
OKLCHoklch(42.95% 0.151 333.8)
XYZxyz(12.0997, 6.8764, 16.3096)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2571 #257D31
analogous
#5D257D #7D2571 #7D2545
triadic
#7D2571 #717D25 #25717D
tetradic
#7D2571 #7D5D25 #257D31 #25457D
square
#7D2571 #7D5D25 #257D31 #25457D
split-complementary
#7D2571 #457D25 #257D5D
monochromatic
#1F091C #4E1746 #7D2571 #AC339C #CB51BB

Accessibility & contrast

On white

8.84
#7D2571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7D2571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2571
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2571#FFFFFF#000000##FFFFFF
##7D25711.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#414F6F
Tritanopia (blue-blind)
#832C48
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2571;
/* rgb */ color: rgb(125, 37, 113);
/* oklch */ color: oklch(42.9% 0.151 333.8);
Tailwind
colors: {
  custom: {
    50: '#a6689a',
    500: '#7d2571',
    950: '#000000',
  },
}
SCSS
$custom: #7d2571;
$custom-light: #a6689a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2571",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 308.182,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42945,
    "c": 0.15058,
    "h": 333.8
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#7D2571
secondary
#4FAF5C
accent
#DE5E4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2571

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

Preview Lab → · Contrast checker → · Palette generator →

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