#7D2B79#7D2B79

#7D2B79 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.149 H 329.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7D2B79
RGBrgb(125, 43, 121)
HSLhsl(303, 49%, 33%)
HSVhsv(303, 66%, 49%)
CMYKcmyk(0%, 65.6%, 3.2%, 51%)
CIE-LABlab(32.85, 45.53, -27.25)
CIE-LCHlch(32.85, 53.07, 329.10°)
OKLaboklab(44.05% 0.1286 -0.075)
OKLCHoklch(44.05% 0.149 329.7)
XYZxyz(12.7724, 7.4691, 18.8544)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B79 #2B7D2F
analogous
#582B7D #7D2B79 #7D2B50
triadic
#7D2B79 #797D2B #2B797D
tetradic
#7D2B79 #7D582B #2B7D2F #2B507D
square
#7D2B79 #7D582B #2B7D2F #2B507D
split-complementary
#7D2B79 #507D2B #2B7D58
monochromatic
#220C21 #4F1B4D #7D2B79 #AB3BA5 #C75CC2

Accessibility & contrast

On white

8.42
#7D2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7D2B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B79
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B79#FFFFFF#000000##FFFFFF
##7D2B791.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467B
Deuteranopia (green-blind)
#415177
Tritanopia (blue-blind)
#82344E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2b79;
/* rgb */ color: rgb(125, 43, 121);
/* oklch */ color: oklch(44.0% 0.149 329.7);
Tailwind
colors: {
  custom: {
    50: '#a56ba0',
    500: '#7d2b79',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b79;
$custom-light: #a56ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b79",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 302.927,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44045,
    "c": 0.14886,
    "h": 329.7
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#7D2B79
secondary
#57AD5B
accent
#D8564F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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