#7D2A72#7D2A72

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

Color values

HEX#7D2A72
RGBrgb(125, 42, 114)
HSLhsl(308, 50%, 33%)
HSVhsv(308, 66%, 49%)
CMYKcmyk(0%, 66.4%, 8.8%, 51%)
CIE-LABlab(32.33, 44.75, -23.65)
CIE-LCHlch(32.33, 50.61, 332.14°)
OKLaboklab(43.55% 0.1291 -0.0646)
OKLCHoklch(43.55% 0.144 333.4)
XYZxyz(12.3227, 7.2318, 16.6632)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A72 #2A7D35
analogous
#5F2A7D #7D2A72 #7D2A48
triadic
#7D2A72 #727D2A #2A727D
tetradic
#7D2A72 #7D5F2A #2A7D35 #2A487D
square
#7D2A72 #7D5F2A #2A7D35 #2A487D
split-complementary
#7D2A72 #487D2A #2A7D5F
monochromatic
#210B1E #4F1B48 #7D2A72 #AB399C #C85AB9

Accessibility & contrast

On white

8.58
#7D2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7D2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A72
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A72#FFFFFF#000000##FFFFFF
##7D2A721.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#435070
Tritanopia (blue-blind)
#83314A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2a72;
/* rgb */ color: rgb(125, 42, 114);
/* oklch */ color: oklch(43.5% 0.144 333.4);
Tailwind
colors: {
  custom: {
    50: '#a56a9b',
    500: '#7d2a72',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a72;
$custom-light: #a56a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a72",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 307.952,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43546,
    "c": 0.14439,
    "h": 333.4
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#7D2A72
secondary
#56AD61
accent
#D9614F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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