#7D1C79#7D1C79

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

Color values

HEX#7D1C79
RGBrgb(125, 28, 121)
HSLhsl(302, 63%, 30%)
HSVhsv(302, 78%, 49%)
CMYKcmyk(0%, 77.6%, 3.2%, 51%)
CIE-LABlab(30.81, 51.29, -30.47)
CIE-LCHlch(30.81, 59.66, 329.29°)
OKLaboklab(42.58% 0.1451 -0.0842)
OKLCHoklch(42.58% 0.168 329.9)
XYZxyz(12.3238, 6.5719, 18.7049)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C79 #1C7D20
analogous
#501C7D #7D1C79 #7D1C49
triadic
#7D1C79 #797D1C #1C797D
tetradic
#7D1C79 #7D501C #1C7D20 #1C497D
square
#7D1C79 #7D501C #1C7D20 #1C497D
split-complementary
#7D1C79 #497D1C #1C7D50
monochromatic
#190618 #4B1149 #7D1C79 #AF27A9 #D43FCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1C79#FFFFFF#000000##FFFFFF
##7D1C791.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)
#0E407B
Deuteranopia (green-blind)
#3A4D77
Tritanopia (blue-blind)
#822A49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1c79;
/* rgb */ color: rgb(125, 28, 121);
/* oklch */ color: oklch(42.6% 0.168 329.9);
Tailwind
colors: {
  custom: {
    50: '#a664a0',
    500: '#7d1c79',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c79;
$custom-light: #a664a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c79",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 302.474,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42576,
    "c": 0.16775,
    "h": 329.9
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#7D1C79
secondary
#44B149
accent
#E64841
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D1C79

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

Preview Lab → · Contrast checker → · Palette generator →

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