#7C1574#7C1574

#7C1574 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.170 H 331.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7C1574
RGBrgb(124, 21, 116)
HSLhsl(305, 71%, 28%)
HSVhsv(305, 83%, 49%)
CMYKcmyk(0%, 83.1%, 6.5%, 51.4%)
CIE-LABlab(29.62, 52.31, -29.20)
CIE-LCHlch(29.62, 59.91, 330.83°)
OKLaboklab(41.6% 0.1499 -0.0805)
OKLCHoklch(41.6% 0.17 331.8)
XYZxyz(11.7328, 6.0834, 17.0759)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1574 #157C1D
analogous
#50157C #7C1574 #7C1540
triadic
#7C1574 #747C15 #15747C
tetradic
#7C1574 #7C5015 #157C1D #15407C
square
#7C1574 #7C5015 #157C1D #15407C
split-complementary
#7C1574 #407C15 #157C50
monochromatic
#1A0418 #480C43 #7C1574 #B01EA5 #DC30CE

Accessibility & contrast

On white

9.47
#7C1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1574
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1574#FFFFFF#000000##FFFFFF
##7C15741.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1574;
/* rgb */ color: rgb(124, 21, 116);
/* oklch */ color: oklch(41.6% 0.170 331.8);
Tailwind
colors: {
  custom: {
    50: '#a5619c',
    500: '#7c1574',
    950: '#000000',
  },
}
SCSS
$custom: #7c1574;
$custom-light: #a5619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1574",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 304.66,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41598,
    "c": 0.17016,
    "h": 331.8
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#7C1574
secondary
#3CB145
accent
#EE483A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1574

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

Preview Lab → · Contrast checker → · Palette generator →

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