#7D2D79#7D2D79

#7D2D79 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.146 H 329.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7D2D79
RGBrgb(125, 45, 121)
HSLhsl(303, 47%, 33%)
HSVhsv(303, 64%, 49%)
CMYKcmyk(0%, 64%, 3.2%, 51%)
CIE-LABlab(33.17, 44.64, -26.74)
CIE-LCHlch(33.17, 52.04, 329.08°)
OKLaboklab(44.28% 0.126 -0.0735)
OKLCHoklch(44.28% 0.146 329.7)
XYZxyz(12.8469, 7.6181, 18.8792)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D79 #2D7D31
analogous
#592D7D #7D2D79 #7D2D51
triadic
#7D2D79 #797D2D #2D797D
tetradic
#7D2D79 #7D592D #2D7D31 #2D517D
square
#7D2D79 #7D592D #2D7D31 #2D517D
split-complementary
#7D2D79 #517D2D #2D7D59
monochromatic
#230D22 #501D4D #7D2D79 #AA3DA5 #C55FC0

Accessibility & contrast

On white

8.32
#7D2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7D2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D79
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D79#FFFFFF#000000##FFFFFF
##7D2D791.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477B
Deuteranopia (green-blind)
#425277
Tritanopia (blue-blind)
#81364F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2d79;
/* rgb */ color: rgb(125, 45, 121);
/* oklch */ color: oklch(44.3% 0.146 329.7);
Tailwind
colors: {
  custom: {
    50: '#a56ca0',
    500: '#7d2d79',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d79;
$custom-light: #a56ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d79",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 303,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.14593,
    "h": 329.7
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#7D2D79
secondary
#5AAC5E
accent
#D75851
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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