#7D1574#7D1574

#7D1574 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.171 H 332.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7D1574
RGBrgb(125, 21, 116)
HSLhsl(305, 71%, 29%)
HSVhsv(305, 83%, 49%)
CMYKcmyk(0%, 83.2%, 7.2%, 51%)
CIE-LABlab(29.81, 52.53, -28.89)
CIE-LCHlch(29.81, 59.95, 331.19°)
OKLaboklab(41.77% 0.151 -0.0796)
OKLCHoklch(41.77% 0.171 332.2)
XYZxyz(11.8780, 6.1583, 17.0827)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1574 #157D1E
analogous
#52157D #7D1574 #7D1540
triadic
#7D1574 #747D15 #15747D
tetradic
#7D1574 #7D5215 #157D1E #15407D
square
#7D1574 #7D5215 #157D1E #15407D
split-complementary
#7D1574 #407D15 #157D52
monochromatic
#1A0418 #490C43 #7D1574 #B11EA5 #DC30CD

Accessibility & contrast

On white

9.41
#7D1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D1574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1574
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1574#FFFFFF#000000##FFFFFF
##7D15741.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D76
Deuteranopia (green-blind)
#3A4B72
Tritanopia (blue-blind)
#832345
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1574;
/* rgb */ color: rgb(125, 21, 116);
/* oklch */ color: oklch(41.8% 0.171 332.2);
Tailwind
colors: {
  custom: {
    50: '#a6619c',
    500: '#7d1574',
    950: '#000000',
  },
}
SCSS
$custom: #7d1574;
$custom-light: #a6619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1574",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 305.192,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41765,
    "c": 0.17067,
    "h": 332.2
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#7D1574
secondary
#3CB246
accent
#EE493A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1574

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

Preview Lab → · Contrast checker → · Palette generator →

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