#7D2477#7D2477

#7D2477 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.157 H 330.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#7D2477
RGBrgb(125, 36, 119)
HSLhsl(304, 55%, 32%)
HSVhsv(304, 71%, 49%)
CMYKcmyk(0%, 71.2%, 4.8%, 51%)
CIE-LABlab(31.70, 48.09, -27.80)
CIE-LCHlch(31.70, 55.55, 329.97°)
OKLaboklab(43.18% 0.1368 -0.0765)
OKLCHoklch(43.18% 0.157 330.8)
XYZxyz(12.4181, 6.9546, 18.1375)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2477 #247D2A
analogous
#57247D #7D2477 #7D244B
triadic
#7D2477 #777D24 #24777D
tetradic
#7D2477 #7D5724 #247D2A #244B7D
square
#7D2477 #7D5724 #247D2A #244B7D
split-complementary
#7D2477 #4B7D24 #247D57
monochromatic
#1E091D #4D164A #7D2477 #AD32A4 #CC4FC4

Accessibility & contrast

On white

8.78
#7D2477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D2477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2477
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2477#FFFFFF#000000##FFFFFF
##7D24771.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4379
Deuteranopia (green-blind)
#3E4F75
Tritanopia (blue-blind)
#822E4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2477;
/* rgb */ color: rgb(125, 36, 119);
/* oklch */ color: oklch(43.2% 0.157 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6679e',
    500: '#7d2477',
    950: '#000000',
  },
}
SCSS
$custom: #7d2477;
$custom-light: #a6679e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2477",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 304.045,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43179,
    "c": 0.15675,
    "h": 330.8
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#7D2477
secondary
#4DAF54
accent
#DF5349
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2477

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

Preview Lab → · Contrast checker → · Palette generator →

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