#7C2576#7C2576

#7C2576 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.154 H 330.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7C2576
RGBrgb(124, 37, 118)
HSLhsl(304, 54%, 32%)
HSVhsv(304, 70%, 49%)
CMYKcmyk(0%, 70.2%, 4.8%, 51.4%)
CIE-LABlab(31.62, 47.27, -27.31)
CIE-LCHlch(31.62, 54.59, 329.98°)
OKLaboklab(43.07% 0.1345 -0.0751)
OKLCHoklch(43.07% 0.154 330.8)
XYZxyz(12.2437, 6.9172, 17.8263)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2576 #257C2B
analogous
#57257C #7C2576 #7C254B
triadic
#7C2576 #767C25 #25767C
tetradic
#7C2576 #7C5725 #257C2B #254B7C
square
#7C2576 #7C5725 #257C2B #254B7C
split-complementary
#7C2576 #4B7C25 #257C57
monochromatic
#1E091C #4D1749 #7C2576 #AB33A3 #CB50C2

Accessibility & contrast

On white

8.81
#7C2576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7C2576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2576
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2576#FFFFFF#000000##FFFFFF
##7C25761.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4378
Deuteranopia (green-blind)
#3E4F74
Tritanopia (blue-blind)
#812F4A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c2576;
/* rgb */ color: rgb(124, 37, 118);
/* oklch */ color: oklch(43.1% 0.154 330.8);
Tailwind
colors: {
  custom: {
    50: '#a5689e',
    500: '#7c2576',
    950: '#000000',
  },
}
SCSS
$custom: #7c2576;
$custom-light: #a5689e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2576",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 304.138,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43066,
    "c": 0.15404,
    "h": 330.8
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#7C2576
secondary
#4FAE55
accent
#DD554A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C2576

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

Preview Lab → · Contrast checker → · Palette generator →

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