#7D2579#7D2579

#7D2579 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.157 H 329.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7D2579
RGBrgb(125, 37, 121)
HSLhsl(303, 54%, 32%)
HSVhsv(303, 70%, 49%)
CMYKcmyk(0%, 70.4%, 3.2%, 51%)
CIE-LABlab(31.95, 48.05, -28.66)
CIE-LCHlch(31.95, 55.95, 329.18°)
OKLaboklab(43.4% 0.1358 -0.079)
OKLCHoklch(43.4% 0.157 329.8)
XYZxyz(12.5701, 7.0645, 18.7870)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2579 #257D29
analogous
#55257D #7D2579 #7D254D
triadic
#7D2579 #797D25 #25797D
tetradic
#7D2579 #7D5525 #257D29 #254D7D
square
#7D2579 #7D5525 #257D29 #254D7D
split-complementary
#7D2579 #4D7D25 #257D55
monochromatic
#1F091E #4E174B #7D2579 #AC33A7 #CB51C6

Accessibility & contrast

On white

8.70
#7D2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2579
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2579#FFFFFF#000000##FFFFFF
##7D25791.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447B
Deuteranopia (green-blind)
#3E4F77
Tritanopia (blue-blind)
#82304C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2579;
/* rgb */ color: rgb(125, 37, 121);
/* oklch */ color: oklch(43.4% 0.157 329.8);
Tailwind
colors: {
  custom: {
    50: '#a668a0',
    500: '#7d2579',
    950: '#000000',
  },
}
SCSS
$custom: #7d2579;
$custom-light: #a668a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2579",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 302.727,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43395,
    "c": 0.15711,
    "h": 329.8
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#7D2579
secondary
#4FAF53
accent
#DE514A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2579

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

Preview Lab → · Contrast checker → · Palette generator →

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