#7D1476#7D1476

#7D1476 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.173 H 331.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7D1476
RGBrgb(125, 20, 118)
HSLhsl(304, 72%, 28%)
HSVhsv(304, 84%, 49%)
CMYKcmyk(0%, 84%, 5.6%, 51%)
CIE-LABlab(29.84, 53.11, -30.12)
CIE-LCHlch(29.84, 61.05, 330.44°)
OKLaboklab(41.82% 0.1517 -0.0831)
OKLCHoklch(41.82% 0.173 331.3)
XYZxyz(11.9776, 6.1693, 17.6960)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1476 #147D1B
analogous
#4F147D #7D1476 #7D1441
triadic
#7D1476 #767D14 #14767D
tetradic
#7D1476 #7D4F14 #147D1B #14417D
square
#7D1476 #7D4F14 #147D1B #14417D
split-complementary
#7D1476 #417D14 #147D4F
monochromatic
#1A0419 #480C44 #7D1476 #B21CA8 #DE2ED2

Accessibility & contrast

On white

9.40
#7D1476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D1476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1476
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1476#FFFFFF#000000##FFFFFF
##7D14761.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053D78
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#822346
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1476;
/* rgb */ color: rgb(125, 20, 118);
/* oklch */ color: oklch(41.8% 0.173 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6619e',
    500: '#7d1476',
    950: '#000000',
  },
}
SCSS
$custom: #7d1476;
$custom-light: #a6619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1476",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 304,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41823,
    "c": 0.17301,
    "h": 331.3
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#7D1476
secondary
#3AB242
accent
#EF4539
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1476

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

Preview Lab → · Contrast checker → · Palette generator →

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