#7C1580#7C1580

#7C1580 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.179 H 326.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7C1580
RGBrgb(124, 21, 128)
HSLhsl(298, 72%, 29%)
HSVhsv(298, 84%, 50%)
CMYKcmyk(3.1%, 83.6%, 0%, 49.8%)
CIE-LABlab(30.35, 54.31, -35.62)
CIE-LCHlch(30.35, 64.95, 326.74°)
OKLaboklab(42.35% 0.1495 -0.0991)
OKLCHoklch(42.35% 0.179 326.4)
XYZxyz(12.4764, 6.3808, 20.9924)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1580 #198015
analogous
#471580 #7C1580 #80154F
triadic
#7C1580 #807C15 #15807C
tetradic
#7C1580 #804715 #198015 #154F80
square
#7C1580 #804715 #198015 #154F80
split-complementary
#7C1580 #4F8015 #158047
monochromatic
#19041A #490C4B #7C1580 #AF1EB5 #D732DD

Accessibility & contrast

On white

9.23
#7C1580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7C1580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1580
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1580#FFFFFF#000000##FFFFFF
##7C15801.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#314C7E
Tritanopia (blue-blind)
#7F2A4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1580;
/* rgb */ color: rgb(124, 21, 128);
/* oklch */ color: oklch(42.4% 0.179 326.4);
Tailwind
colors: {
  custom: {
    50: '#a662a5',
    500: '#7c1580',
    950: '#000000',
  },
}
SCSS
$custom: #7c1580;
$custom-light: #a662a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1580",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 297.757,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42353,
    "c": 0.17938,
    "h": 326.4
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#7C1580
secondary
#40B53C
accent
#EF3940
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1580

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

Preview Lab → · Contrast checker → · Palette generator →

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