#7D2D77#7D2D77

#7D2D77 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.144 H 330.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7D2D77
RGBrgb(125, 45, 119)
HSLhsl(305, 47%, 33%)
HSVhsv(305, 64%, 49%)
CMYKcmyk(0%, 64%, 4.8%, 51%)
CIE-LABlab(33.07, 44.28, -25.65)
CIE-LCHlch(33.07, 51.17, 329.92°)
OKLaboklab(44.17% 0.1258 -0.0704)
OKLCHoklch(44.17% 0.144 330.8)
XYZxyz(12.7255, 7.5696, 18.2400)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D77 #2D7D33
analogous
#5B2D7D #7D2D77 #7D2D4F
triadic
#7D2D77 #777D2D #2D777D
tetradic
#7D2D77 #7D5B2D #2D7D33 #2D4F7D
square
#7D2D77 #7D5B2D #2D7D33 #2D4F7D
split-complementary
#7D2D77 #4F7D2D #2D7D5B
monochromatic
#230D21 #501D4C #7D2D77 #AA3DA2 #C55FBE

Accessibility & contrast

On white

8.35
#7D2D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7D2D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D77
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D77#FFFFFF#000000##FFFFFF
##7D2D771.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#435275
Tritanopia (blue-blind)
#82354D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2d77;
/* rgb */ color: rgb(125, 45, 119);
/* oklch */ color: oklch(44.2% 0.144 330.8);
Tailwind
colors: {
  custom: {
    50: '#a56c9e',
    500: '#7d2d77',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d77;
$custom-light: #a56c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d77",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 304.5,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.14419,
    "h": 330.8
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#7D2D77
secondary
#5AAC60
accent
#D75B51
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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