#7D1577#7D1577

#7D1577 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.173 H 330.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7D1577
RGBrgb(125, 21, 119)
HSLhsl(303, 71%, 29%)
HSVhsv(303, 83%, 49%)
CMYKcmyk(0%, 83.2%, 4.8%, 51%)
CIE-LABlab(29.98, 53.01, -30.52)
CIE-LCHlch(29.98, 61.17, 330.07°)
OKLaboklab(41.95% 0.151 -0.0843)
OKLCHoklch(41.95% 0.173 330.8)
XYZxyz(12.0554, 6.2292, 18.0166)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1577 #157D1B
analogous
#4F157D #7D1577 #7D1543
triadic
#7D1577 #777D15 #15777D
tetradic
#7D1577 #7D4F15 #157D1B #15437D
square
#7D1577 #7D4F15 #157D1B #15437D
split-complementary
#7D1577 #437D15 #157D4F
monochromatic
#1A0419 #490C45 #7D1577 #B11EA9 #DC30D2

Accessibility & contrast

On white

9.35
#7D1577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D1577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1577
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1577#FFFFFF#000000##FFFFFF
##7D15771.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043E7A
Deuteranopia (green-blind)
#384B75
Tritanopia (blue-blind)
#822547
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1577;
/* rgb */ color: rgb(125, 21, 119);
/* oklch */ color: oklch(41.9% 0.173 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6619e',
    500: '#7d1577',
    950: '#000000',
  },
}
SCSS
$custom: #7d1577;
$custom-light: #a6619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1577",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 303.462,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41947,
    "c": 0.17292,
    "h": 330.8
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#7D1577
secondary
#3CB242
accent
#EE443A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1577

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

Preview Lab → · Contrast checker → · Palette generator →

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