#7D1477#7D1477

#7D1477 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.174 H 330.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7D1477
RGBrgb(125, 20, 119)
HSLhsl(303, 72%, 28%)
HSVhsv(303, 84%, 49%)
CMYKcmyk(0%, 84%, 4.8%, 51%)
CIE-LABlab(29.89, 53.27, -30.66)
CIE-LCHlch(29.89, 61.46, 330.08°)
OKLaboklab(41.88% 0.1517 -0.0847)
OKLCHoklch(41.88% 0.174 330.8)
XYZxyz(12.0374, 6.1932, 18.0106)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1477 #147D1A
analogous
#4E147D #7D1477 #7D1442
triadic
#7D1477 #777D14 #14777D
tetradic
#7D1477 #7D4E14 #147D1A #14427D
square
#7D1477 #7D4E14 #147D1A #14427D
split-complementary
#7D1477 #427D14 #147D4E
monochromatic
#1A0419 #480C45 #7D1477 #B21CA9 #DE2ED3

Accessibility & contrast

On white

9.38
#7D1477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7D1477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1477
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1477#FFFFFF#000000##FFFFFF
##7D14771.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D7A
Deuteranopia (green-blind)
#384B75
Tritanopia (blue-blind)
#822446
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1477;
/* rgb */ color: rgb(125, 20, 119);
/* oklch */ color: oklch(41.9% 0.174 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6619e',
    500: '#7d1477',
    950: '#000000',
  },
}
SCSS
$custom: #7d1477;
$custom-light: #a6619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1477",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 303.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41884,
    "c": 0.17376,
    "h": 330.8
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#7D1477
secondary
#3AB241
accent
#EF4339
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1477

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

Preview Lab → · Contrast checker → · Palette generator →

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