#7C1576#7C1576

#7C1576 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.172 H 330.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7C1576
RGBrgb(124, 21, 118)
HSLhsl(303, 71%, 28%)
HSVhsv(303, 83%, 49%)
CMYKcmyk(0%, 83.1%, 4.8%, 51.4%)
CIE-LABlab(29.74, 52.63, -30.28)
CIE-LCHlch(29.74, 60.72, 330.09°)
OKLaboklab(41.72% 0.1499 -0.0836)
OKLCHoklch(41.72% 0.172 330.8)
XYZxyz(11.8503, 6.1304, 17.6952)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1576 #157C1B
analogous
#4E157C #7C1576 #7C1542
triadic
#7C1576 #767C15 #15767C
tetradic
#7C1576 #7C4E15 #157C1B #15427C
square
#7C1576 #7C4E15 #157C1B #15427C
split-complementary
#7C1576 #427C15 #157C4E
monochromatic
#1A0419 #480C44 #7C1576 #B01EA8 #DC30D2

Accessibility & contrast

On white

9.43
#7C1576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7C1576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1576
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1576#FFFFFF#000000##FFFFFF
##7C15761.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053D78
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#812446
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1576;
/* rgb */ color: rgb(124, 21, 118);
/* oklch */ color: oklch(41.7% 0.172 330.8);
Tailwind
colors: {
  custom: {
    50: '#a5619e',
    500: '#7c1576',
    950: '#000000',
  },
}
SCSS
$custom: #7c1576;
$custom-light: #a5619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1576",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 303.495,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41719,
    "c": 0.17168,
    "h": 330.8
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#7C1576
secondary
#3CB142
accent
#EE443A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1576

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

Preview Lab → · Contrast checker → · Palette generator →

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