#7D2C77#7D2C77

#7D2C77 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.146 H 330.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7D2C77
RGBrgb(125, 44, 119)
HSLhsl(304, 48%, 33%)
HSVhsv(304, 65%, 49%)
CMYKcmyk(0%, 64.8%, 4.8%, 51%)
CIE-LABlab(32.91, 44.73, -25.90)
CIE-LCHlch(32.91, 51.69, 329.92°)
OKLaboklab(44.05% 0.1271 -0.0711)
OKLCHoklch(44.05% 0.146 330.8)
XYZxyz(12.6878, 7.4942, 18.2274)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C77 #2C7D32
analogous
#5A2C7D #7D2C77 #7D2C4E
triadic
#7D2C77 #777D2C #2C777D
tetradic
#7D2C77 #7D5A2C #2C7D32 #2C4E7D
square
#7D2C77 #7D5A2C #2C7D32 #2C4E7D
split-complementary
#7D2C77 #4E7D2C #2C7D5A
monochromatic
#220C21 #501C4C #7D2C77 #AA3CA2 #C65DBE

Accessibility & contrast

On white

8.40
#7D2C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D2C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C77
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C77#FFFFFF#000000##FFFFFF
##7D2C771.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274679
Deuteranopia (green-blind)
#425175
Tritanopia (blue-blind)
#82344D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2c77;
/* rgb */ color: rgb(125, 44, 119);
/* oklch */ color: oklch(44.1% 0.146 330.8);
Tailwind
colors: {
  custom: {
    50: '#a56b9e',
    500: '#7d2c77',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c77;
$custom-light: #a56b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c77",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 304.444,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44051,
    "c": 0.14567,
    "h": 330.8
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#7D2C77
secondary
#59AC5F
accent
#D85A50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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