#7D1879#7D1879

#7D1879 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.172 H 329.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7D1879
RGBrgb(125, 24, 121)
HSLhsl(302, 68%, 29%)
HSVhsv(302, 81%, 49%)
CMYKcmyk(0%, 80.8%, 3.2%, 51%)
CIE-LABlab(30.39, 52.52, -31.14)
CIE-LCHlch(30.39, 61.06, 329.33°)
OKLaboklab(42.27% 0.1486 -0.0861)
OKLCHoklch(42.27% 0.172 329.9)
XYZxyz(12.2352, 6.3947, 18.6753)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1879 #187D1C
analogous
#4F187D #7D1879 #7D1847
triadic
#7D1879 #797D18 #18797D
tetradic
#7D1879 #7D4F18 #187D1C #18477D
square
#7D1879 #7D4F18 #187D1C #18477D
split-complementary
#7D1879 #477D18 #187D4F
monochromatic
#1A0519 #4A0E47 #7D1879 #B022AB #D937D2

Accessibility & contrast

On white

9.22
#7D1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D1879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1879
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1879#FFFFFF#000000##FFFFFF
##7D18791.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063F7C
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#822748
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1879;
/* rgb */ color: rgb(125, 24, 121);
/* oklch */ color: oklch(42.3% 0.172 329.9);
Tailwind
colors: {
  custom: {
    50: '#a663a0',
    500: '#7d1879',
    950: '#000000',
  },
}
SCSS
$custom: #7d1879;
$custom-light: #a663a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1879",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 302.376,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42272,
    "c": 0.17174,
    "h": 329.9
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#7D1879
secondary
#3FB244
accent
#EB443D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D1879

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

Preview Lab → · Contrast checker → · Palette generator →

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