#7D1D82#7D1D82

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

Color values

HEX#7D1D82
RGBrgb(125, 29, 130)
HSLhsl(297, 64%, 31%)
HSVhsv(297, 78%, 51%)
CMYKcmyk(3.8%, 77.7%, 0%, 49%)
CIE-LABlab(31.47, 52.53, -35.09)
CIE-LCHlch(31.47, 63.17, 326.26°)
OKLaboklab(43.22% 0.144 -0.0976)
OKLCHoklch(43.22% 0.174 325.9)
XYZxyz(12.9258, 6.8513, 21.7564)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D82 #22821D
analogous
#4A1D82 #7D1D82 #821D54
triadic
#7D1D82 #827D1D #1D827D
tetradic
#7D1D82 #824A1D #22821D #1D5482
square
#7D1D82 #824A1D #22821D #1D5482
split-complementary
#7D1D82 #54821D #1D824A
monochromatic
#1D071E #4D1250 #7D1D82 #AD28B4 #CE44D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1D82#FFFFFF#000000##FFFFFF
##7D1D821.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)
#004285
Deuteranopia (green-blind)
#354E80
Tritanopia (blue-blind)
#802F4F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1d82;
/* rgb */ color: rgb(125, 29, 130);
/* oklch */ color: oklch(43.2% 0.174 325.9);
Tailwind
colors: {
  custom: {
    50: '#a665a7',
    500: '#7d1d82',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d82;
$custom-light: #a665a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d82",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 297.03,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.17396,
    "h": 325.9
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#7D1D82
secondary
#4BB546
accent
#E74149
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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