#7D2D73#7D2D73

#7D2D73 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.141 H 332.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7D2D73
RGBrgb(125, 45, 115)
HSLhsl(308, 47%, 33%)
HSVhsv(308, 64%, 49%)
CMYKcmyk(0%, 64%, 8%, 51%)
CIE-LABlab(32.87, 43.58, -23.45)
CIE-LCHlch(32.87, 49.48, 331.72°)
OKLaboklab(43.95% 0.1253 -0.0641)
OKLCHoklch(43.95% 0.141 332.9)
XYZxyz(12.4904, 7.4755, 17.0014)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D73 #2D7D37
analogous
#5F2D7D #7D2D73 #7D2D4B
triadic
#7D2D73 #737D2D #2D737D
tetradic
#7D2D73 #7D5F2D #2D7D37 #2D4B7D
square
#7D2D73 #7D5F2D #2D7D37 #2D4B7D
split-complementary
#7D2D73 #4B7D2D #2D7D5F
monochromatic
#230D20 #501D4A #7D2D73 #AA3D9C #C55FB9

Accessibility & contrast

On white

8.42
#7D2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7D2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D73
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D73#FFFFFF#000000##FFFFFF
##7D2D731.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4675
Deuteranopia (green-blind)
#455171
Tritanopia (blue-blind)
#82334B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2d73;
/* rgb */ color: rgb(125, 45, 115);
/* oklch */ color: oklch(44.0% 0.141 332.9);
Tailwind
colors: {
  custom: {
    50: '#a56c9b',
    500: '#7d2d73',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d73;
$custom-light: #a56c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d73",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 307.5,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43954,
    "c": 0.14077,
    "h": 332.9
  },
  "luminance": 0.07475
}

Semantic roles & 50–950 ramp

primary
#7D2D73
secondary
#5AAC64
accent
#D76251
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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