#7D1F79#7D1F79

#7D1F79 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.164 H 329.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7D1F79
RGBrgb(125, 31, 121)
HSLhsl(303, 60%, 31%)
HSVhsv(303, 75%, 49%)
CMYKcmyk(0%, 75.2%, 3.2%, 51%)
CIE-LABlab(31.16, 50.29, -29.91)
CIE-LCHlch(31.16, 58.51, 329.25°)
OKLaboklab(42.83% 0.1422 -0.0826)
OKLCHoklch(42.83% 0.164 329.8)
XYZxyz(12.3986, 6.7214, 18.7298)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F79 #1F7D23
analogous
#521F7D #7D1F79 #7D1F4A
triadic
#7D1F79 #797D1F #1F797D
tetradic
#7D1F79 #7D521F #1F7D23 #1F4A7D
square
#7D1F79 #7D521F #1F7D23 #1F4A7D
split-complementary
#7D1F79 #4A7D1F #1F7D52
monochromatic
#1B071A #4C134A #7D1F79 #AE2BA8 #D145CB

Accessibility & contrast

On white

8.96
#7D1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7D1F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F79
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F79#FFFFFF#000000##FFFFFF
##7D1F791.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417B
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#822C4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1f79;
/* rgb */ color: rgb(125, 31, 121);
/* oklch */ color: oklch(42.8% 0.164 329.8);
Tailwind
colors: {
  custom: {
    50: '#a665a0',
    500: '#7d1f79',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f79;
$custom-light: #a665a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f79",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 302.553,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42828,
    "c": 0.16445,
    "h": 329.8
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#7D1F79
secondary
#48B04C
accent
#E34B44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D1F79

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

Preview Lab → · Contrast checker → · Palette generator →

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