#7D1C72#7D1C72

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

Color values

HEX#7D1C72
RGBrgb(125, 28, 114)
HSLhsl(307, 63%, 30%)
HSVhsv(307, 78%, 49%)
CMYKcmyk(0%, 77.6%, 8.8%, 51%)
CIE-LABlab(30.42, 50.14, -26.66)
CIE-LCHlch(30.42, 56.78, 332.00°)
OKLaboklab(42.16% 0.1449 -0.0732)
OKLCHoklch(42.16% 0.162 333.2)
XYZxyz(11.9100, 6.4064, 16.5256)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C72 #1C7D27
analogous
#571C7D #7D1C72 #7D1C42
triadic
#7D1C72 #727D1C #1C727D
tetradic
#7D1C72 #7D571C #1C7D27 #1C427D
square
#7D1C72 #7D571C #1C7D27 #1C427D
split-complementary
#7D1C72 #427D1C #1C7D57
monochromatic
#190617 #4B1144 #7D1C72 #AF27A0 #D43FC3

Accessibility & contrast

On white

9.21
#7D1C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D1C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C72
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C72#FFFFFF#000000##FFFFFF
##7D1C721.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F74
Deuteranopia (green-blind)
#3D4C70
Tritanopia (blue-blind)
#832645
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1c72;
/* rgb */ color: rgb(125, 28, 114);
/* oklch */ color: oklch(42.2% 0.162 333.2);
Tailwind
colors: {
  custom: {
    50: '#a6649b',
    500: '#7d1c72',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c72;
$custom-light: #a6649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c72",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 306.804,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.1623,
    "h": 333.2
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#7D1C72
secondary
#44B150
accent
#E65441
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1C72

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

Preview Lab → · Contrast checker → · Palette generator →

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