#7C1579#7C1579

#7C1579 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.174 H 329.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7C1579
RGBrgb(124, 21, 121)
HSLhsl(302, 71%, 28%)
HSVhsv(302, 83%, 49%)
CMYKcmyk(0%, 83.1%, 2.4%, 51.4%)
CIE-LABlab(29.92, 53.13, -31.90)
CIE-LCHlch(29.92, 61.97, 329.02°)
OKLaboklab(41.9% 0.1499 -0.0883)
OKLCHoklch(41.9% 0.174 329.5)
XYZxyz(12.0315, 6.2028, 18.6490)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1579 #157C18
analogous
#4B157C #7C1579 #7C1545
triadic
#7C1579 #797C15 #15797C
tetradic
#7C1579 #7C4B15 #157C18 #15457C
square
#7C1579 #7C4B15 #157C18 #15457C
split-complementary
#7C1579 #457C15 #157C4B
monochromatic
#1A041A #480C46 #7C1579 #B01EAC #DC30D7

Accessibility & contrast

On white

9.37
#7C1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7C1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1579
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1579#FFFFFF#000000##FFFFFF
##7C15791.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#812648
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1579;
/* rgb */ color: rgb(124, 21, 121);
/* oklch */ color: oklch(41.9% 0.174 329.5);
Tailwind
colors: {
  custom: {
    50: '#a661a0',
    500: '#7c1579',
    950: '#000000',
  },
}
SCSS
$custom: #7c1579;
$custom-light: #a661a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1579",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 301.748,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.17396,
    "h": 329.5
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#7C1579
secondary
#3CB13F
accent
#EE3F3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7C1579

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

Preview Lab → · Contrast checker → · Palette generator →

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