#7D1D79#7D1D79

#7D1D79 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.167 H 329.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7D1D79
RGBrgb(125, 29, 121)
HSLhsl(303, 62%, 30%)
HSVhsv(303, 77%, 49%)
CMYKcmyk(0%, 76.8%, 3.2%, 51%)
CIE-LABlab(30.93, 50.97, -30.29)
CIE-LCHlch(30.93, 59.29, 329.28°)
OKLaboklab(42.66% 0.1442 -0.0837)
OKLCHoklch(42.66% 0.167 329.9)
XYZxyz(12.3479, 6.6201, 18.7129)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D79 #1D7D21
analogous
#511D7D #7D1D79 #7D1D49
triadic
#7D1D79 #797D1D #1D797D
tetradic
#7D1D79 #7D511D #1D7D21 #1D497D
square
#7D1D79 #7D511D #1D7D21 #1D497D
split-complementary
#7D1D79 #497D1D #1D7D51
monochromatic
#1A0619 #4B1149 #7D1D79 #AF29A9 #D341CD

Accessibility & contrast

On white

9.04
#7D1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7D1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D79
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D79#FFFFFF#000000##FFFFFF
##7D1D791.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417B
Deuteranopia (green-blind)
#3A4D77
Tritanopia (blue-blind)
#822A4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1d79;
/* rgb */ color: rgb(125, 29, 121);
/* oklch */ color: oklch(42.7% 0.167 329.9);
Tailwind
colors: {
  custom: {
    50: '#a664a0',
    500: '#7d1d79',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d79;
$custom-light: #a664a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d79",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 302.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.16668,
    "h": 329.9
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#7D1D79
secondary
#45B14A
accent
#E54942
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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