#7D2672#7D2672

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

Color values

HEX#7D2672
RGBrgb(125, 38, 114)
HSLhsl(308, 53%, 32%)
HSVhsv(308, 70%, 49%)
CMYKcmyk(0%, 69.6%, 8.8%, 51%)
CIE-LABlab(31.72, 46.44, -24.61)
CIE-LCHlch(31.72, 52.56, 332.09°)
OKLaboklab(43.11% 0.1341 -0.0673)
OKLCHoklch(43.11% 0.15 333.3)
XYZxyz(12.1879, 6.9621, 16.6182)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2672 #267D31
analogous
#5D267D #7D2672 #7D2647
triadic
#7D2672 #727D26 #26727D
tetradic
#7D2672 #7D5D26 #267D31 #26477D
square
#7D2672 #7D5D26 #267D31 #26477D
split-complementary
#7D2672 #477D26 #267D5D
monochromatic
#1F091C #4E1847 #7D2672 #AC349D #CB53BB

Accessibility & contrast

On white

8.78
#7D2672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D2672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2672
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2672#FFFFFF#000000##FFFFFF
##7D26721.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234374
Deuteranopia (green-blind)
#414F70
Tritanopia (blue-blind)
#832E48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2672;
/* rgb */ color: rgb(125, 38, 114);
/* oklch */ color: oklch(43.1% 0.150 333.3);
Tailwind
colors: {
  custom: {
    50: '#a6689b',
    500: '#7d2672',
    950: '#000000',
  },
}
SCSS
$custom: #7d2672;
$custom-light: #a6689b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2672",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 307.586,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43105,
    "c": 0.15004,
    "h": 333.3
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#7D2672
secondary
#50AF5C
accent
#DD5D4B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2672

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

Preview Lab → · Contrast checker → · Palette generator →

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