#7D2972#7D2972

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

Color values

HEX#7D2972
RGBrgb(125, 41, 114)
HSLhsl(308, 51%, 33%)
HSVhsv(308, 67%, 49%)
CMYKcmyk(0%, 67.2%, 8.8%, 51%)
CIE-LABlab(32.17, 45.18, -23.90)
CIE-LCHlch(32.17, 51.11, 332.12°)
OKLaboklab(43.43% 0.1304 -0.0653)
OKLCHoklch(43.43% 0.146 333.4)
XYZxyz(12.2877, 7.1617, 16.6515)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2972 #297D34
analogous
#5E297D #7D2972 #7D2948
triadic
#7D2972 #727D29 #29727D
tetradic
#7D2972 #7D5E29 #297D34 #29487D
square
#7D2972 #7D5E29 #297D34 #29487D
split-complementary
#7D2972 #487D29 #297D5E
monochromatic
#210B1E #4F1A48 #7D2972 #AB389C #C858BA

Accessibility & contrast

On white

8.63
#7D2972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7D2972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2972
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2972#FFFFFF#000000##FFFFFF
##7D29721.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#435070
Tritanopia (blue-blind)
#833049
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2972;
/* rgb */ color: rgb(125, 41, 114);
/* oklch */ color: oklch(43.4% 0.146 333.4);
Tailwind
colors: {
  custom: {
    50: '#a56a9b',
    500: '#7d2972',
    950: '#000000',
  },
}
SCSS
$custom: #7d2972;
$custom-light: #a56a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2972",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 307.857,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43433,
    "c": 0.14584,
    "h": 333.4
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#7D2972
secondary
#54AE60
accent
#DA604E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2972

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

Preview Lab → · Contrast checker → · Palette generator →

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