#7D2A71#7D2A71

#7D2A71 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.144 H 333.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7D2A71
RGBrgb(125, 42, 113)
HSLhsl(309, 50%, 33%)
HSVhsv(309, 66%, 49%)
CMYKcmyk(0%, 66.4%, 9.6%, 51%)
CIE-LABlab(32.28, 44.58, -23.10)
CIE-LCHlch(32.28, 50.21, 332.61°)
OKLaboklab(43.49% 0.129 -0.0631)
OKLCHoklch(43.49% 0.144 333.9)
XYZxyz(12.2661, 7.2091, 16.3650)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A71 #2A7D36
analogous
#602A7D #7D2A71 #7D2A47
triadic
#7D2A71 #717D2A #2A717D
tetradic
#7D2A71 #7D602A #2A7D36 #2A477D
square
#7D2A71 #7D602A #2A7D36 #2A477D
split-complementary
#7D2A71 #477D2A #2A7D60
monochromatic
#210B1E #4F1B48 #7D2A71 #AB399A #C85AB8

Accessibility & contrast

On white

8.60
#7D2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7D2A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A71
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A71#FFFFFF#000000##FFFFFF
##7D2A711.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#44506F
Tritanopia (blue-blind)
#833049
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2a71;
/* rgb */ color: rgb(125, 42, 113);
/* oklch */ color: oklch(43.5% 0.144 333.9);
Tailwind
colors: {
  custom: {
    50: '#a56a9a',
    500: '#7d2a71',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a71;
$custom-light: #a56a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a71",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 308.675,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43493,
    "c": 0.14357,
    "h": 333.9
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#7D2A71
secondary
#56AD62
accent
#D9634F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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