#7D1570#7D1570

#7D1570 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.168 H 334.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7D1570
RGBrgb(125, 21, 112)
HSLhsl(308, 71%, 29%)
HSVhsv(308, 83%, 49%)
CMYKcmyk(0%, 83.2%, 10.4%, 51%)
CIE-LABlab(29.58, 51.90, -26.69)
CIE-LCHlch(29.58, 58.36, 332.78°)
OKLaboklab(41.53% 0.1509 -0.0732)
OKLCHoklch(41.53% 0.168 334.1)
XYZxyz(11.6504, 6.0672, 15.8836)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1570 #157D22
analogous
#56157D #7D1570 #7D153C
triadic
#7D1570 #707D15 #15707D
tetradic
#7D1570 #7D5615 #157D22 #153C7D
square
#7D1570 #7D5615 #157D22 #153C7D
split-complementary
#7D1570 #3C7D15 #157D56
monochromatic
#1A0417 #490C41 #7D1570 #B11E9F #DC30C7

Accessibility & contrast

On white

9.49
#7D1570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D1570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1570
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1570#FFFFFF#000000##FFFFFF
##7D15701.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C72
Deuteranopia (green-blind)
#3C4B6E
Tritanopia (blue-blind)
#832043
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1570;
/* rgb */ color: rgb(125, 21, 112);
/* oklch */ color: oklch(41.5% 0.168 334.1);
Tailwind
colors: {
  custom: {
    50: '#a66199',
    500: '#7d1570',
    950: '#000000',
  },
}
SCSS
$custom: #7d1570;
$custom-light: #a66199;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1570",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 307.5,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4153,
    "c": 0.16773,
    "h": 334.1
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#7D1570
secondary
#3CB24A
accent
#EE503A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1570

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

Preview Lab → · Contrast checker → · Palette generator →

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