#7D1779#7D1779

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

Color values

HEX#7D1779
RGBrgb(125, 23, 121)
HSLhsl(302, 69%, 29%)
HSVhsv(302, 82%, 49%)
CMYKcmyk(0%, 81.6%, 3.2%, 51%)
CIE-LABlab(30.29, 52.80, -31.30)
CIE-LCHlch(30.29, 61.38, 329.34°)
OKLaboklab(42.2% 0.1494 -0.0866)
OKLCHoklch(42.2% 0.173 329.9)
XYZxyz(12.2150, 6.3542, 18.6686)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1779 #177D1B
analogous
#4E177D #7D1779 #7D1746
triadic
#7D1779 #797D17 #17797D
tetradic
#7D1779 #7D4E17 #177D1B #17467D
square
#7D1779 #7D4E17 #177D1B #17467D
split-complementary
#7D1779 #467D17 #177D4E
monochromatic
#1A0519 #490D47 #7D1779 #B121AB #DA35D3

Accessibility & contrast

On white

9.25
#7D1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1779
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1779#FFFFFF#000000##FFFFFF
##7D17791.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1779;
/* rgb */ color: rgb(125, 23, 121);
/* oklch */ color: oklch(42.2% 0.173 329.9);
Tailwind
colors: {
  custom: {
    50: '#a662a0',
    500: '#7d1779',
    950: '#000000',
  },
}
SCSS
$custom: #7d1779;
$custom-light: #a662a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1779",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 302.353,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42203,
    "c": 0.17266,
    "h": 329.9
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#7D1779
secondary
#3EB243
accent
#EC433C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D1779

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

Preview Lab → · Contrast checker → · Palette generator →

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