#7C1481#7C1481

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

Color values

HEX#7C1481
RGBrgb(124, 20, 129)
HSLhsl(297, 73%, 29%)
HSVhsv(297, 84%, 51%)
CMYKcmyk(3.9%, 84.5%, 0%, 49.4%)
CIE-LABlab(30.33, 54.73, -36.28)
CIE-LCHlch(30.33, 65.67, 326.46°)
OKLaboklab(42.36% 0.1501 -0.1011)
OKLCHoklch(42.36% 0.181 326)
XYZxyz(12.5245, 6.3713, 21.3347)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1481 #198114
analogous
#461481 #7C1481 #811450
triadic
#7C1481 #817C14 #14817C
tetradic
#7C1481 #814614 #198114 #145081
square
#7C1481 #814614 #198114 #145081
split-complementary
#7C1481 #508114 #148146
monochromatic
#19041A #490C4C #7C1481 #AF1CB6 #D730DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1481#FFFFFF#000000##FFFFFF
##7C14811.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#304C7F
Tritanopia (blue-blind)
#7F2A4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1481;
/* rgb */ color: rgb(124, 20, 129);
/* oklch */ color: oklch(42.4% 0.181 326.0);
Tailwind
colors: {
  custom: {
    50: '#a662a6',
    500: '#7c1481',
    950: '#000000',
  },
}
SCSS
$custom: #7c1481;
$custom-light: #a662a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1481",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 297.248,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42357,
    "c": 0.18098,
    "h": 326
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#7C1481
secondary
#40B63B
accent
#F03840
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1481

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

Preview Lab → · Contrast checker → · Palette generator →

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