#7D2471#7D2471

#7D2471 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.152 H 333.8°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7D2471
RGBrgb(125, 36, 113)
HSLhsl(308, 55%, 32%)
HSVhsv(308, 71%, 49%)
CMYKcmyk(0%, 71.2%, 9.6%, 51%)
CIE-LABlab(31.38, 47.08, -24.50)
CIE-LCHlch(31.38, 53.07, 332.51°)
OKLaboklab(42.84% 0.1363 -0.067)
OKLCHoklch(42.84% 0.152 333.8)
XYZxyz(12.0690, 6.8150, 16.2994)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2471 #247D30
analogous
#5D247D #7D2471 #7D2445
triadic
#7D2471 #717D24 #24717D
tetradic
#7D2471 #7D5D24 #247D30 #24457D
square
#7D2471 #7D5D24 #247D30 #24457D
split-complementary
#7D2471 #457D24 #247D5D
monochromatic
#1E091B #4D1646 #7D2471 #AD329C #CC4FBB

Accessibility & contrast

On white

8.89
#7D2471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D2471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2471
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2471#FFFFFF#000000##FFFFFF
##7D24711.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224273
Deuteranopia (green-blind)
#414E6F
Tritanopia (blue-blind)
#832C47
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2471;
/* rgb */ color: rgb(125, 36, 113);
/* oklch */ color: oklch(42.8% 0.152 333.8);
Tailwind
colors: {
  custom: {
    50: '#a6679a',
    500: '#7d2471',
    950: '#000000',
  },
}
SCSS
$custom: #7d2471;
$custom-light: #a6679a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2471",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 308.09,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.15191,
    "h": 333.8
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#7D2471
secondary
#4DAF5B
accent
#DF5D49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2471

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

Preview Lab → · Contrast checker → · Palette generator →

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