#7D1D76#7D1D76

#7D1D76 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.164 H 331.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7D1D76
RGBrgb(125, 29, 118)
HSLhsl(304, 62%, 30%)
HSVhsv(304, 77%, 49%)
CMYKcmyk(0%, 76.8%, 5.6%, 51%)
CIE-LABlab(30.75, 50.46, -28.66)
CIE-LCHlch(30.75, 58.04, 330.40°)
OKLaboklab(42.48% 0.1441 -0.079)
OKLCHoklch(42.48% 0.164 331.3)
XYZxyz(12.1668, 6.5477, 17.7591)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D76 #1D7D24
analogous
#541D7D #7D1D76 #7D1D46
triadic
#7D1D76 #767D1D #1D767D
tetradic
#7D1D76 #7D541D #1D7D24 #1D467D
square
#7D1D76 #7D541D #1D7D24 #1D467D
split-complementary
#7D1D76 #467D1D #1D7D54
monochromatic
#1A0618 #4B1147 #7D1D76 #AF29A5 #D341C8

Accessibility & contrast

On white

9.09
#7D1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7D1D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D76
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D76#FFFFFF#000000##FFFFFF
##7D1D761.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144078
Deuteranopia (green-blind)
#3C4D74
Tritanopia (blue-blind)
#822948
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1d76;
/* rgb */ color: rgb(125, 29, 118);
/* oklch */ color: oklch(42.5% 0.164 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6649e',
    500: '#7d1d76',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d76;
$custom-light: #a6649e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d76",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 304.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42479,
    "c": 0.1643,
    "h": 331.3
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#7D1D76
secondary
#45B14D
accent
#E54E42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1D76

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

Preview Lab → · Contrast checker → · Palette generator →

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