#7D2E72#7D2E72

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

Color values

HEX#7D2E72
RGBrgb(125, 46, 114)
HSLhsl(308, 46%, 34%)
HSVhsv(308, 63%, 49%)
CMYKcmyk(0%, 63.2%, 8.8%, 51%)
CIE-LABlab(32.98, 42.94, -22.63)
CIE-LCHlch(32.98, 48.54, 332.21°)
OKLaboklab(44.02% 0.1238 -0.0618)
OKLCHoklch(44.02% 0.138 333.5)
XYZxyz(12.4717, 7.5298, 16.7129)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E72 #2E7D39
analogous
#602E7D #7D2E72 #7D2E4A
triadic
#7D2E72 #727D2E #2E727D
tetradic
#7D2E72 #7D602E #2E7D39 #2E4A7D
square
#7D2E72 #7D602E #2E7D39 #2E4A7D
split-complementary
#7D2E72 #4A7D2E #2E7D60
monochromatic
#240D20 #501E49 #7D2E72 #AA3E9B #C561B7

Accessibility & contrast

On white

8.38
#7D2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7D2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E72
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E72#FFFFFF#000000##FFFFFF
##7D2E721.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4674
Deuteranopia (green-blind)
#465270
Tritanopia (blue-blind)
#83344B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2e72;
/* rgb */ color: rgb(125, 46, 114);
/* oklch */ color: oklch(44.0% 0.138 333.5);
Tailwind
colors: {
  custom: {
    50: '#a56c9b',
    500: '#7d2e72',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e72;
$custom-light: #a56c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e72",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 308.354,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44024,
    "c": 0.13839,
    "h": 333.5
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#7D2E72
secondary
#5BAB67
accent
#D66452
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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