#7C1578#7C1578

#7C1578 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.173 H 329.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7C1578
RGBrgb(124, 21, 120)
HSLhsl(302, 71%, 28%)
HSVhsv(302, 83%, 49%)
CMYKcmyk(0%, 83.1%, 3.2%, 51.4%)
CIE-LABlab(29.86, 52.96, -31.36)
CIE-LCHlch(29.86, 61.55, 329.37°)
OKLaboklab(41.84% 0.1499 -0.0868)
OKLCHoklch(41.84% 0.173 329.9)
XYZxyz(11.9705, 6.1784, 18.3278)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1578 #157C19
analogous
#4C157C #7C1578 #7C1544
triadic
#7C1578 #787C15 #15787C
tetradic
#7C1578 #7C4C15 #157C19 #15447C
square
#7C1578 #7C4C15 #157C19 #15447C
split-complementary
#7C1578 #447C15 #157C4C
monochromatic
#1A0419 #480C45 #7C1578 #B01EAB #DC30D5

Accessibility & contrast

On white

9.39
#7C1578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7C1578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1578
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1578#FFFFFF#000000##FFFFFF
##7C15781.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#374B76
Tritanopia (blue-blind)
#812547
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1578;
/* rgb */ color: rgb(124, 21, 120);
/* oklch */ color: oklch(41.8% 0.173 329.9);
Tailwind
colors: {
  custom: {
    50: '#a5619f',
    500: '#7c1578',
    950: '#000000',
  },
}
SCSS
$custom: #7c1578;
$custom-light: #a5619f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1578",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 302.33,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41842,
    "c": 0.17319,
    "h": 329.9
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#7C1578
secondary
#3CB140
accent
#EE413A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1578

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

Preview Lab → · Contrast checker → · Palette generator →

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