#7C1480#7C1480

#7C1480 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.180 H 326.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7C1480
RGBrgb(124, 20, 128)
HSLhsl(298, 73%, 29%)
HSVhsv(298, 84%, 50%)
CMYKcmyk(3.1%, 84.4%, 0%, 49.8%)
CIE-LABlab(30.27, 54.56, -35.76)
CIE-LCHlch(30.27, 65.24, 326.76°)
OKLaboklab(42.29% 0.1502 -0.0995)
OKLCHoklch(42.29% 0.18 326.5)
XYZxyz(12.4584, 6.3448, 20.9864)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1480 #188014
analogous
#461480 #7C1480 #80144E
triadic
#7C1480 #807C14 #14807C
tetradic
#7C1480 #804614 #188014 #144E80
square
#7C1480 #804614 #188014 #144E80
split-complementary
#7C1480 #4E8014 #148046
monochromatic
#1A041A #490C4B #7C1480 #AF1CB5 #D830DF

Accessibility & contrast

On white

9.26
#7C1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7C1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1480
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1480#FFFFFF#000000##FFFFFF
##7C14801.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1480;
/* rgb */ color: rgb(124, 20, 128);
/* oklch */ color: oklch(42.3% 0.180 326.5);
Tailwind
colors: {
  custom: {
    50: '#a661a5',
    500: '#7c1480',
    950: '#000000',
  },
}
SCSS
$custom: #7c1480;
$custom-light: #a661a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1480",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 297.778,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42291,
    "c": 0.1802,
    "h": 326.5
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#7C1480
secondary
#3FB53B
accent
#F0383F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1480

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

Preview Lab → · Contrast checker → · Palette generator →

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