#7D1A71#7D1A71

#7D1A71 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.164 H 333.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7D1A71
RGBrgb(125, 26, 113)
HSLhsl(307, 66%, 30%)
HSVhsv(307, 79%, 49%)
CMYKcmyk(0%, 79.2%, 9.6%, 51%)
CIE-LABlab(30.14, 50.62, -26.46)
CIE-LCHlch(30.14, 57.11, 332.40°)
OKLaboklab(41.95% 0.1467 -0.0726)
OKLCHoklch(41.95% 0.164 333.7)
XYZxyz(11.8076, 6.2921, 16.2122)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A71 #1A7D26
analogous
#581A7D #7D1A71 #7D1A3F
triadic
#7D1A71 #717D1A #1A717D
tetradic
#7D1A71 #7D581A #1A7D26 #1A3F7D
square
#7D1A71 #7D581A #1A7D26 #1A3F7D
split-complementary
#7D1A71 #3F7D1A #1A7D58
monochromatic
#190517 #4A0F43 #7D1A71 #B0259F #D63BC3

Accessibility & contrast

On white

9.30
#7D1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D1A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A71
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A71#FFFFFF#000000##FFFFFF
##7D1A711.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#832444
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1a71;
/* rgb */ color: rgb(125, 26, 113);
/* oklch */ color: oklch(41.9% 0.164 333.7);
Tailwind
colors: {
  custom: {
    50: '#a6639a',
    500: '#7d1a71',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a71;
$custom-light: #a6639a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a71",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 307.273,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41946,
    "c": 0.16366,
    "h": 333.7
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#7D1A71
secondary
#42B14F
accent
#E9543F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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