#7C2D73#7C2D73

#7C2D73 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.140 H 332.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7C2D73
RGBrgb(124, 45, 115)
HSLhsl(307, 47%, 33%)
HSVhsv(307, 64%, 49%)
CMYKcmyk(0%, 63.7%, 7.3%, 51.4%)
CIE-LABlab(32.70, 43.29, -23.71)
CIE-LCHlch(32.70, 49.36, 331.29°)
OKLaboklab(43.8% 0.1242 -0.0649)
OKLCHoklch(43.8% 0.14 332.4)
XYZxyz(12.3451, 7.4006, 16.9946)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2D73 #2D7C36
analogous
#5D2D7C #7C2D73 #7C2D4B
triadic
#7C2D73 #737C2D #2D737C
tetradic
#7C2D73 #7C5D2D #2D7C36 #2D4B7C
square
#7C2D73 #7C5D2D #2D7C36 #2D4B7C
split-complementary
#7C2D73 #4B7C2D #2D7C5D
monochromatic
#220C20 #4F1D49 #7C2D73 #A93D9D #C55FB9

Accessibility & contrast

On white

8.47
#7C2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2D73
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2D73#FFFFFF#000000##FFFFFF
##7C2D731.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#81344B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2d73;
/* rgb */ color: rgb(124, 45, 115);
/* oklch */ color: oklch(43.8% 0.140 332.4);
Tailwind
colors: {
  custom: {
    50: '#a46c9b',
    500: '#7c2d73',
    950: '#000000',
  },
}
SCSS
$custom: #7c2d73;
$custom-light: #a46c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2d73",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 306.835,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43802,
    "c": 0.14009,
    "h": 332.4
  },
  "luminance": 0.074
}

Semantic roles & 50–950 ramp

primary
#7C2D73
secondary
#5AAB63
accent
#D66151
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7C2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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