#7D1E79#7D1E79

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

Color values

HEX#7D1E79
RGBrgb(125, 30, 121)
HSLhsl(303, 61%, 30%)
HSVhsv(303, 76%, 49%)
CMYKcmyk(0%, 76%, 3.2%, 51%)
CIE-LABlab(31.04, 50.63, -30.10)
CIE-LCHlch(31.04, 58.90, 329.27°)
OKLaboklab(42.74% 0.1432 -0.0831)
OKLCHoklch(42.74% 0.166 329.9)
XYZxyz(12.3728, 6.6700, 18.7212)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E79 #1E7D22
analogous
#511E7D #7D1E79 #7D1E4A
triadic
#7D1E79 #797D1E #1E797D
tetradic
#7D1E79 #7D511E #1E7D22 #1E4A7D
square
#7D1E79 #7D511E #1E7D22 #1E4A7D
split-complementary
#7D1E79 #4A7D1E #1E7D51
monochromatic
#1A0619 #4C1249 #7D1E79 #AE2AA9 #D243CC

Accessibility & contrast

On white

9.00
#7D1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7D1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E79
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E79#FFFFFF#000000##FFFFFF
##7D1E791.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417B
Deuteranopia (green-blind)
#3A4E77
Tritanopia (blue-blind)
#822B4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1e79;
/* rgb */ color: rgb(125, 30, 121);
/* oklch */ color: oklch(42.7% 0.166 329.9);
Tailwind
colors: {
  custom: {
    50: '#a665a0',
    500: '#7d1e79',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e79;
$custom-light: #a665a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e79",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 302.526,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42741,
    "c": 0.16557,
    "h": 329.9
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#7D1E79
secondary
#46B04B
accent
#E44A43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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