#7D1D72#7D1D72

#7D1D72 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.161 H 333.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7D1D72
RGBrgb(125, 29, 114)
HSLhsl(307, 62%, 30%)
HSVhsv(307, 77%, 49%)
CMYKcmyk(0%, 76.8%, 8.8%, 51%)
CIE-LABlab(30.53, 49.81, -26.47)
CIE-LCHlch(30.53, 56.41, 332.01°)
OKLaboklab(42.25% 0.1439 -0.0727)
OKLCHoklch(42.25% 0.161 333.2)
XYZxyz(11.9342, 6.4546, 16.5337)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D72 #1D7D28
analogous
#581D7D #7D1D72 #7D1D42
triadic
#7D1D72 #727D1D #1D727D
tetradic
#7D1D72 #7D581D #1D7D28 #1D427D
square
#7D1D72 #7D581D #1D7D28 #1D427D
split-complementary
#7D1D72 #427D1D #1D7D58
monochromatic
#1A0617 #4B1145 #7D1D72 #AF299F #D341C2

Accessibility & contrast

On white

9.17
#7D1D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D1D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D72
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D72#FFFFFF#000000##FFFFFF
##7D1D721.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193F74
Deuteranopia (green-blind)
#3E4D70
Tritanopia (blue-blind)
#832746
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1d72;
/* rgb */ color: rgb(125, 29, 114);
/* oklch */ color: oklch(42.2% 0.161 333.2);
Tailwind
colors: {
  custom: {
    50: '#a6649b',
    500: '#7d1d72',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d72;
$custom-light: #a6649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d72",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 306.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42247,
    "c": 0.1612,
    "h": 333.2
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#7D1D72
secondary
#45B152
accent
#E55542
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1D72

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

Preview Lab → · Contrast checker → · Palette generator →

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