#7D2B71#7D2B71

#7D2B71 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.142 H 334.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7D2B71
RGBrgb(125, 43, 113)
HSLhsl(309, 49%, 33%)
HSVhsv(309, 66%, 49%)
CMYKcmyk(0%, 65.6%, 9.6%, 51%)
CIE-LABlab(32.44, 44.13, -22.85)
CIE-LCHlch(32.44, 49.70, 332.63°)
OKLaboklab(43.61% 0.1277 -0.0624)
OKLCHoklch(43.61% 0.142 334)
XYZxyz(12.3020, 7.2809, 16.3770)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B71 #2B7D37
analogous
#602B7D #7D2B71 #7D2B48
triadic
#7D2B71 #717D2B #2B717D
tetradic
#7D2B71 #7D602B #2B7D37 #2B487D
square
#7D2B71 #7D602B #2B7D37 #2B487D
split-complementary
#7D2B71 #487D2B #2B7D60
monochromatic
#220C1F #4F1B48 #7D2B71 #AB3B9A #C75CB7

Accessibility & contrast

On white

8.55
#7D2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D2B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B71
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B71#FFFFFF#000000##FFFFFF
##7D2B711.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#44516F
Tritanopia (blue-blind)
#83314A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2b71;
/* rgb */ color: rgb(125, 43, 113);
/* oklch */ color: oklch(43.6% 0.142 334.0);
Tailwind
colors: {
  custom: {
    50: '#a56b9a',
    500: '#7d2b71',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b71;
$custom-light: #a56b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b71",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 308.78,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4361,
    "c": 0.1421,
    "h": 334
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#7D2B71
secondary
#57AD64
accent
#D8634F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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