#7C2D72#7C2D72

#7C2D72 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.7% C 0.139 H 333.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7C2D72
RGBrgb(124, 45, 114)
HSLhsl(308, 47%, 33%)
HSVhsv(308, 64%, 49%)
CMYKcmyk(0%, 63.7%, 8.1%, 51.4%)
CIE-LABlab(32.65, 43.12, -23.16)
CIE-LCHlch(32.65, 48.94, 331.76°)
OKLaboklab(43.75% 0.124 -0.0633)
OKLCHoklch(43.75% 0.139 333)
XYZxyz(12.2879, 7.3777, 16.6932)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2D72 #2D7C37
analogous
#5E2D7C #7C2D72 #7C2D4A
triadic
#7C2D72 #727C2D #2D727C
tetradic
#7C2D72 #7C5E2D #2D7C37 #2D4A7C
square
#7C2D72 #7C5E2D #2D7C37 #2D4A7C
split-complementary
#7C2D72 #4A7C2D #2D7C5E
monochromatic
#220C1F #4F1D49 #7C2D72 #A93D9B #C55FB8

Accessibility & contrast

On white

8.48
#7C2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7C2D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2D72
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2D72#FFFFFF#000000##FFFFFF
##7C2D721.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4674
Deuteranopia (green-blind)
#445170
Tritanopia (blue-blind)
#81334B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2d72;
/* rgb */ color: rgb(124, 45, 114);
/* oklch */ color: oklch(43.7% 0.139 333.0);
Tailwind
colors: {
  custom: {
    50: '#a46c9b',
    500: '#7c2d72',
    950: '#000000',
  },
}
SCSS
$custom: #7c2d72;
$custom-light: #a46c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2d72",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 307.595,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.13924,
    "h": 333
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#7C2D72
secondary
#5AAB64
accent
#D66251
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7C2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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