#7D2772#7D2772

#7D2772 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.149 H 333.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7D2772
RGBrgb(125, 39, 114)
HSLhsl(308, 52%, 32%)
HSVhsv(308, 69%, 49%)
CMYKcmyk(0%, 68.8%, 8.8%, 51%)
CIE-LABlab(31.87, 46.03, -24.37)
CIE-LCHlch(31.87, 52.09, 332.10°)
OKLaboklab(43.21% 0.1329 -0.0667)
OKLCHoklch(43.21% 0.149 333.3)
XYZxyz(12.2203, 7.0269, 16.6290)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2772 #277D32
analogous
#5D277D #7D2772 #7D2747
triadic
#7D2772 #727D27 #27727D
tetradic
#7D2772 #7D5D27 #277D32 #27477D
square
#7D2772 #7D5D27 #277D32 #27477D
split-complementary
#7D2772 #477D27 #277D5D
monochromatic
#200A1D #4E1847 #7D2772 #AC369D #CA55BB

Accessibility & contrast

On white

8.73
#7D2772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D2772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2772
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2772#FFFFFF#000000##FFFFFF
##7D27721.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#424F70
Tritanopia (blue-blind)
#832E49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2772;
/* rgb */ color: rgb(125, 39, 114);
/* oklch */ color: oklch(43.2% 0.149 333.3);
Tailwind
colors: {
  custom: {
    50: '#a5699b',
    500: '#7d2772',
    950: '#000000',
  },
}
SCSS
$custom: #7d2772;
$custom-light: #a5699b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2772",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 307.674,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43212,
    "c": 0.14866,
    "h": 333.3
  },
  "luminance": 0.07026
}

Semantic roles & 50–950 ramp

primary
#7D2772
secondary
#51AF5D
accent
#DC5E4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2772

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

Preview Lab → · Contrast checker → · Palette generator →

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