#7C1D72#7C1D72

#7C1D72 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.161 H 332.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7C1D72
RGBrgb(124, 29, 114)
HSLhsl(306, 62%, 30%)
HSVhsv(306, 77%, 49%)
CMYKcmyk(0%, 76.6%, 8.1%, 51.4%)
CIE-LABlab(30.35, 49.56, -26.77)
CIE-LCHlch(30.35, 56.33, 331.63°)
OKLaboklab(42.08% 0.1428 -0.0735)
OKLCHoklch(42.08% 0.161 332.8)
XYZxyz(11.7889, 6.3797, 16.5268)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D72 #1D7C27
analogous
#571D7C #7C1D72 #7C1D42
triadic
#7C1D72 #727C1D #1D727C
tetradic
#7C1D72 #7C571D #1D7C27 #1D427C
square
#7C1D72 #7C571D #1D7C27 #1D427C
split-complementary
#7C1D72 #427C1D #1D7C57
monochromatic
#190617 #4A1144 #7C1D72 #AE29A0 #D341C3

Accessibility & contrast

On white

9.23
#7C1D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1D72
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D72#FFFFFF#000000##FFFFFF
##7C1D721.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1d72;
/* rgb */ color: rgb(124, 29, 114);
/* oklch */ color: oklch(42.1% 0.161 332.8);
Tailwind
colors: {
  custom: {
    50: '#a5649b',
    500: '#7c1d72',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d72;
$custom-light: #a5649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d72",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 306.316,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.42083,
    "c": 0.16063,
    "h": 332.8
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#7C1D72
secondary
#45B050
accent
#E55443
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1D72

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

Preview Lab → · Contrast checker → · Palette generator →

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