#7D2572#7D2572

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

Color values

HEX#7D2572
RGBrgb(125, 37, 114)
HSLhsl(308, 54%, 32%)
HSVhsv(308, 70%, 49%)
CMYKcmyk(0%, 70.4%, 8.8%, 51%)
CIE-LABlab(31.58, 46.85, -24.83)
CIE-LCHlch(31.58, 53.02, 332.07°)
OKLaboklab(43% 0.1353 -0.068)
OKLCHoklch(43% 0.151 333.3)
XYZxyz(12.1563, 6.8990, 16.6077)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2572 #257D30
analogous
#5C257D #7D2572 #7D2546
triadic
#7D2572 #727D25 #25727D
tetradic
#7D2572 #7D5C25 #257D30 #25467D
square
#7D2572 #7D5C25 #257D30 #25467D
split-complementary
#7D2572 #467D25 #257D5C
monochromatic
#1F091C #4E1747 #7D2572 #AC339D #CB51BC

Accessibility & contrast

On white

8.83
#7D2572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2572
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2572#FFFFFF#000000##FFFFFF
##7D25721.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2572;
/* rgb */ color: rgb(125, 37, 114);
/* oklch */ color: oklch(43.0% 0.151 333.3);
Tailwind
colors: {
  custom: {
    50: '#a6689b',
    500: '#7d2572',
    950: '#000000',
  },
}
SCSS
$custom: #7d2572;
$custom-light: #a6689b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2572",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 307.5,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43,
    "c": 0.15138,
    "h": 333.3
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#7D2572
secondary
#4FAF5B
accent
#DE5D4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2572

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

Preview Lab → · Contrast checker → · Palette generator →

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