#7C1474#7C1474

#7C1474 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.171 H 331.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7C1474
RGBrgb(124, 20, 116)
HSLhsl(305, 72%, 28%)
HSVhsv(305, 84%, 49%)
CMYKcmyk(0%, 83.9%, 6.5%, 51.4%)
CIE-LABlab(29.53, 52.57, -29.34)
CIE-LCHlch(29.53, 60.20, 330.84°)
OKLaboklab(41.53% 0.1507 -0.0809)
OKLCHoklch(41.53% 0.171 331.8)
XYZxyz(11.7147, 6.0474, 17.0699)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1474 #147C1C
analogous
#50147C #7C1474 #7C1440
triadic
#7C1474 #747C14 #14747C
tetradic
#7C1474 #7C5014 #147C1C #14407C
square
#7C1474 #7C5014 #147C1C #14407C
split-complementary
#7C1474 #407C14 #147C50
monochromatic
#1A0419 #470B43 #7C1474 #B11DA5 #DD2DD0

Accessibility & contrast

On white

9.51
#7C1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7C1474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1474
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1474#FFFFFF#000000##FFFFFF
##7C14741.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083C76
Deuteranopia (green-blind)
#394B72
Tritanopia (blue-blind)
#812345
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1474;
/* rgb */ color: rgb(124, 20, 116);
/* oklch */ color: oklch(41.5% 0.171 331.8);
Tailwind
colors: {
  custom: {
    50: '#a6619c',
    500: '#7c1474',
    950: '#000000',
  },
}
SCSS
$custom: #7c1474;
$custom-light: #a6619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1474",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 304.615,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41533,
    "c": 0.17103,
    "h": 331.8
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#7C1474
secondary
#3AB243
accent
#EF4739
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1474

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

Preview Lab → · Contrast checker → · Palette generator →

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