#7D1470#7D1470

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

Color values

HEX#7D1470
RGBrgb(125, 20, 112)
HSLhsl(307, 72%, 28%)
HSVhsv(307, 84%, 49%)
CMYKcmyk(0%, 84%, 10.4%, 51%)
CIE-LABlab(29.49, 52.16, -26.84)
CIE-LCHlch(29.49, 58.66, 332.77°)
OKLaboklab(41.47% 0.1517 -0.0736)
OKLCHoklch(41.47% 0.169 334.1)
XYZxyz(11.6324, 6.0312, 15.8776)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1470 #147D21
analogous
#55147D #7D1470 #7D143B
triadic
#7D1470 #707D14 #14707D
tetradic
#7D1470 #7D5514 #147D21 #143B7D
square
#7D1470 #7D5514 #147D21 #143B7D
split-complementary
#7D1470 #3B7D14 #147D55
monochromatic
#1A0418 #480C41 #7D1470 #B21C9F #DE2EC8

Accessibility & contrast

On white

9.52
#7D1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1470
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1470#FFFFFF#000000##FFFFFF
##7D14701.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C72
Deuteranopia (green-blind)
#3B4B6E
Tritanopia (blue-blind)
#832042
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1470;
/* rgb */ color: rgb(125, 20, 112);
/* oklch */ color: oklch(41.5% 0.169 334.1);
Tailwind
colors: {
  custom: {
    50: '#a66199',
    500: '#7d1470',
    950: '#000000',
  },
}
SCSS
$custom: #7d1470;
$custom-light: #a66199;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1470",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 307.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41466,
    "c": 0.1686,
    "h": 334.1
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#7D1470
secondary
#3AB249
accent
#EF4F39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1470

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

Preview Lab → · Contrast checker → · Palette generator →

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