#7C2E73#7C2E73

#7C2E73 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 43.9% C 0.139 H 332.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7C2E73
RGBrgb(124, 46, 115)
HSLhsl(307, 46%, 33%)
HSVhsv(307, 63%, 49%)
CMYKcmyk(0%, 62.9%, 7.3%, 51.4%)
CIE-LABlab(32.87, 42.83, -23.45)
CIE-LCHlch(32.87, 48.83, 331.30°)
OKLaboklab(43.93% 0.1228 -0.0641)
OKLCHoklch(43.93% 0.139 332.4)
XYZxyz(12.3837, 7.4778, 17.0074)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E73 #2E7C37
analogous
#5E2E7C #7C2E73 #7C2E4C
triadic
#7C2E73 #737C2E #2E737C
tetradic
#7C2E73 #7C5E2E #2E7C37 #2E4C7C
square
#7C2E73 #7C5E2E #2E7C37 #2E4C7C
split-complementary
#7C2E73 #4C7C2E #2E7C5E
monochromatic
#230D20 #4F1D4A #7C2E73 #A93F9C #C460B9

Accessibility & contrast

On white

8.42
#7C2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7C2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2E73
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E73#FFFFFF#000000##FFFFFF
##7C2E731.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c2e73;
/* rgb */ color: rgb(124, 46, 115);
/* oklch */ color: oklch(43.9% 0.139 332.4);
Tailwind
colors: {
  custom: {
    50: '#a46c9b',
    500: '#7c2e73',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e73;
$custom-light: #a46c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e73",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 306.923,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43925,
    "c": 0.13855,
    "h": 332.4
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#7C2E73
secondary
#5BAB64
accent
#D66152
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7C2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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