#7D1C84#7D1C84

#7D1C84 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.177 H 325.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7D1C84
RGBrgb(125, 28, 132)
HSLhsl(296, 65%, 31%)
HSVhsv(296, 79%, 52%)
CMYKcmyk(5.3%, 78.8%, 0%, 48.2%)
CIE-LABlab(31.48, 53.21, -36.31)
CIE-LCHlch(31.48, 64.42, 325.69°)
OKLaboklab(43.27% 0.1448 -0.1012)
OKLCHoklch(43.27% 0.177 325)
XYZxyz(13.0372, 6.8573, 22.4622)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C84 #23841C
analogous
#491C84 #7D1C84 #841C57
triadic
#7D1C84 #847D1C #1C847D
tetradic
#7D1C84 #84491C #23841C #1C5784
square
#7D1C84 #84491C #23841C #1C5784
split-complementary
#7D1C84 #57841C #1C8449
monochromatic
#1D071F #4D1152 #7D1C84 #AD27B6 #CD43D7

Accessibility & contrast

On white

8.86
#7D1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7D1C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C84
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C84#FFFFFF#000000##FFFFFF
##7D1C841.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#334E82
Tritanopia (blue-blind)
#802F4F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1c84;
/* rgb */ color: rgb(125, 28, 132);
/* oklch */ color: oklch(43.3% 0.177 325.0);
Tailwind
colors: {
  custom: {
    50: '#a665a8',
    500: '#7d1c84',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c84;
$custom-light: #a665a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c84",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 295.962,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43267,
    "c": 0.17662,
    "h": 325
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#7D1C84
secondary
#4CB745
accent
#E8404B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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