#7D1D8A#7D1D8A

#7D1D8A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.181 H 322.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7D1D8A
RGBrgb(125, 29, 138)
HSLhsl(293, 65%, 33%)
HSVhsv(293, 79%, 54%)
CMYKcmyk(9.4%, 79%, 0%, 45.9%)
CIE-LABlab(31.98, 53.98, -39.25)
CIE-LCHlch(31.98, 66.74, 323.98°)
OKLaboklab(43.74% 0.1434 -0.1098)
OKLCHoklch(43.74% 0.181 322.6)
XYZxyz(13.4838, 7.0745, 24.6951)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D8A #2A8A1D
analogous
#461D8A #7D1D8A #8A1D60
triadic
#7D1D8A #8A7D1D #1D8A7D
tetradic
#7D1D8A #8A461D #2A8A1D #1D608A
square
#7D1D8A #8A461D #2A8A1D #1D608A
split-complementary
#7D1D8A #608A1D #1D8A46
monochromatic
#210825 #4F1257 #7D1D8A #AB28BD #C849D9

Accessibility & contrast

On white

8.70
#7D1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D1D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D8A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D8A#FFFFFF#000000##FFFFFF
##7D1D8A1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#2F4F88
Tritanopia (blue-blind)
#7F3353
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d1d8a;
/* rgb */ color: rgb(125, 29, 138);
/* oklch */ color: oklch(43.7% 0.181 322.6);
Tailwind
colors: {
  custom: {
    50: '#a665ad',
    500: '#7d1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d8a;
$custom-light: #a665ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d8a",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 292.844,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43742,
    "c": 0.18061,
    "h": 322.6
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#7D1D8A
secondary
#56BB48
accent
#E84054
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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