#7C1472#7C1472

#7C1472 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.170 H 332.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7C1472
RGBrgb(124, 20, 114)
HSLhsl(306, 72%, 28%)
HSVhsv(306, 84%, 49%)
CMYKcmyk(0%, 83.9%, 8.1%, 51.4%)
CIE-LABlab(29.42, 52.25, -28.25)
CIE-LCHlch(29.42, 59.40, 331.61°)
OKLaboklab(41.41% 0.1507 -0.0777)
OKLCHoklch(41.41% 0.17 332.7)
XYZxyz(11.5997, 6.0013, 16.4638)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1472 #147C1E
analogous
#52147C #7C1472 #7C143E
triadic
#7C1472 #727C14 #14727C
tetradic
#7C1472 #7C5214 #147C1E #143E7C
square
#7C1472 #7C5214 #147C1E #143E7C
split-complementary
#7C1472 #3E7C14 #147C52
monochromatic
#1A0418 #470B42 #7C1472 #B11DA2 #DD2DCC

Accessibility & contrast

On white

9.55
#7C1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1472
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1472#FFFFFF#000000##FFFFFF
##7C14721.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3C74
Deuteranopia (green-blind)
#3A4A70
Tritanopia (blue-blind)
#822143
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1472;
/* rgb */ color: rgb(124, 20, 114);
/* oklch */ color: oklch(41.4% 0.170 332.7);
Tailwind
colors: {
  custom: {
    50: '#a6619b',
    500: '#7c1472',
    950: '#000000',
  },
}
SCSS
$custom: #7c1472;
$custom-light: #a6619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1472",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 305.769,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41413,
    "c": 0.16954,
    "h": 332.7
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#7C1472
secondary
#3AB246
accent
#EF4A39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1472

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

Preview Lab → · Contrast checker → · Palette generator →

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