#7D1372#7D1372

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

Color values

HEX#7D1372
RGBrgb(125, 19, 114)
HSLhsl(306, 74%, 28%)
HSVhsv(306, 85%, 49%)
CMYKcmyk(0%, 84.8%, 8.8%, 51%)
CIE-LABlab(29.52, 52.73, -28.07)
CIE-LCHlch(29.52, 59.73, 331.97°)
OKLaboklab(41.52% 0.1525 -0.0772)
OKLCHoklch(41.52% 0.171 333.1)
XYZxyz(11.7277, 6.0417, 16.4648)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1372 #137D1E
analogous
#53137D #7D1372 #7D133D
triadic
#7D1372 #727D13 #13727D
tetradic
#7D1372 #7D5313 #137D1E #133D7D
square
#7D1372 #7D5313 #137D1E #133D7D
split-complementary
#7D1372 #3D7D13 #137D53
monochromatic
#1B0418 #480B42 #7D1372 #B21BA2 #DF2CCC

Accessibility & contrast

On white

9.51
#7D1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1372
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1372#FFFFFF#000000##FFFFFF
##7D13721.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3C74
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#832043
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1372;
/* rgb */ color: rgb(125, 19, 114);
/* oklch */ color: oklch(41.5% 0.171 333.1);
Tailwind
colors: {
  custom: {
    50: '#a6619b',
    500: '#7d1372',
    950: '#000000',
  },
}
SCSS
$custom: #7d1372;
$custom-light: #a6619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1372",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 306.226,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41521,
    "c": 0.17089,
    "h": 333.1
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#7D1372
secondary
#39B346
accent
#F04B38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1372

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

Preview Lab → · Contrast checker → · Palette generator →

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