#7D2472#7D2472

#7D2472 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.153 H 333.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7D2472
RGBrgb(125, 36, 114)
HSLhsl(307, 55%, 32%)
HSVhsv(307, 71%, 49%)
CMYKcmyk(0%, 71.2%, 8.8%, 51%)
CIE-LABlab(31.43, 47.25, -25.05)
CIE-LCHlch(31.43, 53.48, 332.06°)
OKLaboklab(42.9% 0.1364 -0.0686)
OKLCHoklch(42.9% 0.153 333.3)
XYZxyz(12.1256, 6.8376, 16.5975)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2472 #247D2F
analogous
#5C247D #7D2472 #7D2446
triadic
#7D2472 #727D24 #24727D
tetradic
#7D2472 #7D5C24 #247D2F #24467D
square
#7D2472 #7D5C24 #247D2F #24467D
split-complementary
#7D2472 #467D24 #247D5C
monochromatic
#1E091B #4D1647 #7D2472 #AD329D #CC4FBD

Accessibility & contrast

On white

8.87
#7D2472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7D2472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2472
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2472#FFFFFF#000000##FFFFFF
##7D24721.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2472;
/* rgb */ color: rgb(125, 36, 114);
/* oklch */ color: oklch(42.9% 0.153 333.3);
Tailwind
colors: {
  custom: {
    50: '#a6679b',
    500: '#7d2472',
    950: '#000000',
  },
}
SCSS
$custom: #7d2472;
$custom-light: #a6679b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2472",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 307.416,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.1527,
    "h": 333.3
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#7D2472
secondary
#4DAF5A
accent
#DF5C49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2472

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

Preview Lab → · Contrast checker → · Palette generator →

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