#7D2474#7D2474

#7D2474 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.154 H 332.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7D2474
RGBrgb(125, 36, 116)
HSLhsl(306, 55%, 32%)
HSVhsv(306, 71%, 49%)
CMYKcmyk(0%, 71.2%, 7.2%, 51%)
CIE-LABlab(31.54, 47.58, -26.16)
CIE-LCHlch(31.54, 54.30, 331.20°)
OKLaboklab(43.01% 0.1366 -0.0718)
OKLCHoklch(43.01% 0.154 332.3)
XYZxyz(12.2407, 6.8837, 17.2036)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2474 #247D2D
analogous
#5A247D #7D2474 #7D2448
triadic
#7D2474 #747D24 #24747D
tetradic
#7D2474 #7D5A24 #247D2D #24487D
square
#7D2474 #7D5A24 #247D2D #24487D
split-complementary
#7D2474 #487D24 #247D5A
monochromatic
#1E091C #4D1648 #7D2474 #AD32A0 #CC4FC0

Accessibility & contrast

On white

8.84
#7D2474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7D2474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2474
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2474#FFFFFF#000000##FFFFFF
##7D24741.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4276
Deuteranopia (green-blind)
#404F72
Tritanopia (blue-blind)
#822D49
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2474;
/* rgb */ color: rgb(125, 36, 116);
/* oklch */ color: oklch(43.0% 0.154 332.3);
Tailwind
colors: {
  custom: {
    50: '#a6679c',
    500: '#7d2474',
    950: '#000000',
  },
}
SCSS
$custom: #7d2474;
$custom-light: #a6679c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2474",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 306.067,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.15431,
    "h": 332.3
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#7D2474
secondary
#4DAF57
accent
#DF5849
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2474

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

Preview Lab → · Contrast checker → · Palette generator →

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