#7D1575#7D1575

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

Color values

HEX#7D1575
RGBrgb(125, 21, 117)
HSLhsl(305, 71%, 29%)
HSVhsv(305, 83%, 49%)
CMYKcmyk(0%, 83.2%, 6.4%, 51%)
CIE-LABlab(29.87, 52.69, -29.43)
CIE-LCHlch(29.87, 60.35, 330.81°)
OKLaboklab(41.83% 0.151 -0.0811)
OKLCHoklch(41.83% 0.171 331.7)
XYZxyz(11.9365, 6.1817, 17.3907)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1575 #157D1D
analogous
#51157D #7D1575 #7D1541
triadic
#7D1575 #757D15 #15757D
tetradic
#7D1575 #7D5115 #157D1D #15417D
square
#7D1575 #7D5115 #157D1D #15417D
split-complementary
#7D1575 #417D15 #157D51
monochromatic
#1A0419 #490C44 #7D1575 #B11EA6 #DC30CF

Accessibility & contrast

On white

9.39
#7D1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7D1575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1575
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1575#FFFFFF#000000##FFFFFF
##7D15751.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D77
Deuteranopia (green-blind)
#394B73
Tritanopia (blue-blind)
#832345
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1575;
/* rgb */ color: rgb(125, 21, 117);
/* oklch */ color: oklch(41.8% 0.171 331.7);
Tailwind
colors: {
  custom: {
    50: '#a6619d',
    500: '#7d1575',
    950: '#000000',
  },
}
SCSS
$custom: #7d1575;
$custom-light: #a6619d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1575",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 304.615,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41825,
    "c": 0.17142,
    "h": 331.7
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#7D1575
secondary
#3CB245
accent
#EE483A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1575

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

Preview Lab → · Contrast checker → · Palette generator →

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