#7D2D7F#7D2D7F

#7D2D7F is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.151 H 326.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7D2D7F
RGBrgb(125, 45, 127)
HSLhsl(299, 48%, 34%)
HSVhsv(299, 65%, 50%)
CMYKcmyk(1.6%, 64.6%, 0%, 50.2%)
CIE-LABlab(33.50, 45.74, -29.99)
CIE-LCHlch(33.50, 54.70, 326.76°)
OKLaboklab(44.62% 0.1265 -0.0829)
OKLCHoklch(44.62% 0.151 326.8)
XYZxyz(13.2264, 7.7699, 20.8776)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D7F #2F7F2D
analogous
#542D7F #7D2D7F #7F2D58
triadic
#7D2D7F #7F7D2D #2D7F7D
tetradic
#7D2D7F #7F542D #2F7F2D #2D587F
square
#7D2D7F #7F542D #2F7F2D #2D587F
split-complementary
#7D2D7F #587F2D #2D7F54
monochromatic
#240D25 #511D52 #7D2D7F #A93DAC #C460C7

Accessibility & contrast

On white

8.22
#7D2D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D2D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D7F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D7F#FFFFFF#000000##FFFFFF
##7D2D7F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214881
Deuteranopia (green-blind)
#3F527D
Tritanopia (blue-blind)
#803852
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2d7f;
/* rgb */ color: rgb(125, 45, 127);
/* oklch */ color: oklch(44.6% 0.151 326.8);
Tailwind
colors: {
  custom: {
    50: '#a56ca4',
    500: '#7d2d7f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d7f;
$custom-light: #a56ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d7f",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 298.537,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44621,
    "c": 0.15127,
    "h": 326.8
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#7D2D7F
secondary
#5DAD5B
accent
#D75154
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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