#7D2E71#7D2E71

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

Color values

HEX#7D2E71
RGBrgb(125, 46, 113)
HSLhsl(309, 46%, 34%)
HSVhsv(309, 63%, 49%)
CMYKcmyk(0%, 63.2%, 9.6%, 51%)
CIE-LABlab(32.93, 42.77, -22.07)
CIE-LCHlch(32.93, 48.13, 332.70°)
OKLaboklab(43.97% 0.1237 -0.0602)
OKLCHoklch(43.97% 0.138 334.1)
XYZxyz(12.4151, 7.5072, 16.4147)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E71 #2E7D3A
analogous
#612E7D #7D2E71 #7D2E49
triadic
#7D2E71 #717D2E #2E717D
tetradic
#7D2E71 #7D612E #2E7D3A #2E497D
square
#7D2E71 #7D612E #2E7D3A #2E497D
split-complementary
#7D2E71 #497D2E #2E7D61
monochromatic
#240D20 #501E49 #7D2E71 #AA3E99 #C561B6

Accessibility & contrast

On white

8.40
#7D2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D2E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E71
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E71#FFFFFF#000000##FFFFFF
##7D2E711.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#46526F
Tritanopia (blue-blind)
#83344B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2e71;
/* rgb */ color: rgb(125, 46, 113);
/* oklch */ color: oklch(44.0% 0.138 334.1);
Tailwind
colors: {
  custom: {
    50: '#a56c9a',
    500: '#7d2e71',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e71;
$custom-light: #a56c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e71",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 309.114,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43972,
    "c": 0.13755,
    "h": 334.1
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#7D2E71
secondary
#5BAB68
accent
#D66652
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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