#7D2373#7D2373

#7D2373 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.155 H 332.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7D2373
RGBrgb(125, 35, 115)
HSLhsl(307, 56%, 31%)
HSVhsv(307, 72%, 49%)
CMYKcmyk(0%, 72%, 8%, 51%)
CIE-LABlab(31.35, 47.80, -25.82)
CIE-LCHlch(31.35, 54.33, 331.62°)
OKLaboklab(42.85% 0.1376 -0.0708)
OKLCHoklch(42.85% 0.155 332.8)
XYZxyz(12.1530, 6.8008, 16.8889)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2373 #237D2D
analogous
#5A237D #7D2373 #7D2346
triadic
#7D2373 #737D23 #23737D
tetradic
#7D2373 #7D5A23 #237D2D #23467D
square
#7D2373 #7D5A23 #237D2D #23467D
split-complementary
#7D2373 #467D23 #237D5A
monochromatic
#1D081B #4D1647 #7D2373 #AD309F #CD4DBF

Accessibility & contrast

On white

8.90
#7D2373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D2373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2373
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2373#FFFFFF#000000##FFFFFF
##7D23731.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4275
Deuteranopia (green-blind)
#404E71
Tritanopia (blue-blind)
#832C48
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2373;
/* rgb */ color: rgb(125, 35, 115);
/* oklch */ color: oklch(42.9% 0.155 332.8);
Tailwind
colors: {
  custom: {
    50: '#a6679b',
    500: '#7d2373',
    950: '#000000',
  },
}
SCSS
$custom: #7d2373;
$custom-light: #a6679b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2373",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 306.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.15479,
    "h": 332.8
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#7D2373
secondary
#4CAF57
accent
#E05948
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2373

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

Preview Lab → · Contrast checker → · Palette generator →

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