#7D1D77#7D1D77

#7D1D77 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.165 H 330.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7D1D77
RGBrgb(125, 29, 119)
HSLhsl(304, 62%, 30%)
HSVhsv(304, 77%, 49%)
CMYKcmyk(0%, 76.8%, 4.8%, 51%)
CIE-LABlab(30.81, 50.63, -29.21)
CIE-LCHlch(30.81, 58.45, 330.02°)
OKLaboklab(42.54% 0.1441 -0.0805)
OKLCHoklch(42.54% 0.165 330.8)
XYZxyz(12.2266, 6.5716, 18.0737)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D77 #1D7D23
analogous
#531D7D #7D1D77 #7D1D47
triadic
#7D1D77 #777D1D #1D777D
tetradic
#7D1D77 #7D531D #1D7D23 #1D477D
square
#7D1D77 #7D531D #1D7D23 #1D477D
split-complementary
#7D1D77 #477D1D #1D7D53
monochromatic
#1A0618 #4B1148 #7D1D77 #AF29A6 #D341CA

Accessibility & contrast

On white

9.07
#7D1D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1D77
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D77#FFFFFF#000000##FFFFFF
##7D1D771.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1d77;
/* rgb */ color: rgb(125, 29, 119);
/* oklch */ color: oklch(42.5% 0.165 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6649e',
    500: '#7d1d77',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d77;
$custom-light: #a6649e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d77",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 303.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42538,
    "c": 0.16509,
    "h": 330.8
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#7D1D77
secondary
#45B14C
accent
#E54D42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1D77

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

Preview Lab → · Contrast checker → · Palette generator →

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