#7D1E7D#7D1E7D

#7D1E7D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.169 H 328.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7D1E7D
RGBrgb(125, 30, 125)
HSLhsl(300, 61%, 30%)
HSVhsv(300, 76%, 49%)
CMYKcmyk(0%, 76%, 0%, 51%)
CIE-LABlab(31.28, 51.32, -32.25)
CIE-LCHlch(31.28, 60.61, 327.85°)
OKLaboklab(42.99% 0.1432 -0.0894)
OKLCHoklch(42.99% 0.169 328)
XYZxyz(12.6232, 6.7701, 20.0400)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E7D #1E7D1E
analogous
#4D1E7D #7D1E7D #7D1E4D
triadic
#7D1E7D #7D7D1E #1E7D7D
tetradic
#7D1E7D #7D4D1E #1E7D1E #1E4D7D
square
#7D1E7D #7D4D1E #1E7D1E #1E4D7D
split-complementary
#7D1E7D #4D7D1E #1E7D4D
monochromatic
#1A061A #4C124C #7D1E7D #AE2AAE #D243D2

Accessibility & contrast

On white

8.92
#7D1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E7D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E7D#FFFFFF#000000##FFFFFF
##7D1E7D1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094280
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#812D4C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1e7d;
/* rgb */ color: rgb(125, 30, 125);
/* oklch */ color: oklch(43.0% 0.169 328.0);
Tailwind
colors: {
  custom: {
    50: '#a665a3',
    500: '#7d1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e7d;
$custom-light: #a665a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e7d",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 300,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42985,
    "c": 0.1688,
    "h": 328
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#7D1E7D
secondary
#46B046
accent
#E44343
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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