#7D2C7D#7D2C7D

#7D2C7D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.151 H 327.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7D2C7D
RGBrgb(125, 44, 125)
HSLhsl(300, 48%, 33%)
HSVhsv(300, 65%, 49%)
CMYKcmyk(0%, 64.8%, 0%, 51%)
CIE-LABlab(33.23, 45.82, -29.16)
CIE-LCHlch(33.23, 54.31, 327.52°)
OKLaboklab(44.39% 0.1277 -0.0805)
OKLCHoklch(44.39% 0.151 327.8)
XYZxyz(13.0596, 7.6429, 20.1854)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C7D #2C7D2C
analogous
#542C7D #7D2C7D #7D2C54
triadic
#7D2C7D #7D7D2C #2C7D7D
tetradic
#7D2C7D #7D542C #2C7D2C #2C547D
square
#7D2C7D #7D542C #2C7D2C #2C547D
split-complementary
#7D2C7D #547D2C #2C7D54
monochromatic
#220C22 #501C50 #7D2C7D #AA3CAA #C65DC6

Accessibility & contrast

On white

8.31
#7D2C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7D2C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C7D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C7D#FFFFFF#000000##FFFFFF
##7D2C7D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477F
Deuteranopia (green-blind)
#3F527B
Tritanopia (blue-blind)
#813750
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2c7d;
/* rgb */ color: rgb(125, 44, 125);
/* oklch */ color: oklch(44.4% 0.151 327.8);
Tailwind
colors: {
  custom: {
    50: '#a56ba3',
    500: '#7d2c7d',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c7d;
$custom-light: #a56ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c7d",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 300,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.15093,
    "h": 327.8
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#7D2C7D
secondary
#59AC59
accent
#D85050
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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