#7C1477#7C1477

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

Color values

HEX#7C1477
RGBrgb(124, 20, 119)
HSLhsl(303, 72%, 28%)
HSVhsv(303, 84%, 49%)
CMYKcmyk(0%, 83.9%, 4%, 51.4%)
CIE-LABlab(29.71, 53.06, -30.96)
CIE-LCHlch(29.71, 61.43, 329.73°)
OKLaboklab(41.72% 0.1507 -0.0856)
OKLCHoklch(41.72% 0.173 330.4)
XYZxyz(11.8921, 6.1183, 18.0038)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1477 #147C19
analogous
#4D147C #7C1477 #7C1443
triadic
#7C1477 #777C14 #14777C
tetradic
#7C1477 #7C4D14 #147C19 #14437C
square
#7C1477 #7C4D14 #147C19 #14437C
split-complementary
#7C1477 #437C14 #147C4D
monochromatic
#1A0419 #470B44 #7C1477 #B11DAA #DD2DD5

Accessibility & contrast

On white

9.44
#7C1477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7C1477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1477
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1477#FFFFFF#000000##FFFFFF
##7C14771.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013D7A
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#812446
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1477;
/* rgb */ color: rgb(124, 20, 119);
/* oklch */ color: oklch(41.7% 0.173 330.4);
Tailwind
colors: {
  custom: {
    50: '#a6619e',
    500: '#7c1477',
    950: '#000000',
  },
}
SCSS
$custom: #7c1477;
$custom-light: #a6619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1477",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 302.885,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41717,
    "c": 0.17328,
    "h": 330.4
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#7C1477
secondary
#3AB240
accent
#EF4239
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1477

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

Preview Lab → · Contrast checker → · Palette generator →

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