#7D1D9B#7D1D9B

#7D1D9B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.195 H 316.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7D1D9B
RGBrgb(125, 29, 155)
HSLhsl(286, 68%, 36%)
HSVhsv(286, 81%, 61%)
CMYKcmyk(19.4%, 81.3%, 0%, 39.2%)
CIE-LABlab(33.15, 57.22, -47.81)
CIE-LCHlch(33.15, 74.56, 320.12°)
OKLaboklab(44.94% 0.141 -0.1349)
OKLCHoklch(44.94% 0.195 316.3)
XYZxyz(14.8123, 7.6059, 31.6918)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D9B #3B9B1D
analogous
#3E1D9B #7D1D9B #9B1D7A
triadic
#7D1D9B #9B7D1D #1D9B7D
tetradic
#7D1D9B #9B3E1D #3B9B1D #1D7A9B
square
#7D1D9B #9B3E1D #3B9B1D #1D7A9B
split-complementary
#7D1D9B #7A9B1D #1D9B3E
monochromatic
#2A0A34 #531367 #7D1D9B #A727CF #BE53DF

Accessibility & contrast

On white

8.33
#7D1D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D1D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D9B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D9B#FFFFFF#000000##FFFFFF
##7D1D9B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#1B5098
Tritanopia (blue-blind)
#7B3B5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d1d9b;
/* rgb */ color: rgb(125, 29, 155);
/* oklch */ color: oklch(44.9% 0.195 316.3);
Tailwind
colors: {
  custom: {
    50: '#a766b9',
    500: '#7d1d9b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d9b;
$custom-light: #a766b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d9b",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 155
  },
  "hsl": {
    "h": 285.714,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44942,
    "c": 0.19513,
    "h": 316.3
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#7D1D9B
secondary
#6CC252
accent
#EB3C66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D1D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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