#7D2B72#7D2B72

#7D2B72 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.143 H 333.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7D2B72
RGBrgb(125, 43, 114)
HSLhsl(308, 49%, 33%)
HSVhsv(308, 66%, 49%)
CMYKcmyk(0%, 65.6%, 8.8%, 51%)
CIE-LABlab(32.49, 44.31, -23.40)
CIE-LCHlch(32.49, 50.11, 332.16°)
OKLaboklab(43.66% 0.1278 -0.064)
OKLCHoklch(43.66% 0.143 333.4)
XYZxyz(12.3586, 7.3036, 16.6751)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B72 #2B7D36
analogous
#5F2B7D #7D2B72 #7D2B49
triadic
#7D2B72 #727D2B #2B727D
tetradic
#7D2B72 #7D5F2B #2B7D36 #2B497D
square
#7D2B72 #7D5F2B #2B7D36 #2B497D
split-complementary
#7D2B72 #497D2B #2B7D5F
monochromatic
#220C1F #4F1B48 #7D2B72 #AB3B9C #C75CB8

Accessibility & contrast

On white

8.53
#7D2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2B72
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B72#FFFFFF#000000##FFFFFF
##7D2B721.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294574
Deuteranopia (green-blind)
#445170
Tritanopia (blue-blind)
#83314A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2b72;
/* rgb */ color: rgb(125, 43, 114);
/* oklch */ color: oklch(43.7% 0.143 333.4);
Tailwind
colors: {
  custom: {
    50: '#a56b9b',
    500: '#7d2b72',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b72;
$custom-light: #a56b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b72",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 308.049,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43663,
    "c": 0.14292,
    "h": 333.4
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#7D2B72
secondary
#57AD63
accent
#D8624F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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