#7C1577#7C1577

#7C1577 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.172 H 330.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7C1577
RGBrgb(124, 21, 119)
HSLhsl(303, 71%, 28%)
HSVhsv(303, 83%, 49%)
CMYKcmyk(0%, 83.1%, 4%, 51.4%)
CIE-LABlab(29.80, 52.80, -30.82)
CIE-LCHlch(29.80, 61.14, 329.72°)
OKLaboklab(41.78% 0.1499 -0.0852)
OKLCHoklch(41.78% 0.172 330.4)
XYZxyz(11.9101, 6.1543, 18.0098)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1577 #157C1A
analogous
#4D157C #7C1577 #7C1543
triadic
#7C1577 #777C15 #15777C
tetradic
#7C1577 #7C4D15 #157C1A #15437C
square
#7C1577 #7C4D15 #157C1A #15437C
split-complementary
#7C1577 #437C15 #157C4D
monochromatic
#1A0419 #480C45 #7C1577 #B01EA9 #DC30D3

Accessibility & contrast

On white

9.41
#7C1577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7C1577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1577
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1577#FFFFFF#000000##FFFFFF
##7C15771.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1577;
/* rgb */ color: rgb(124, 21, 119);
/* oklch */ color: oklch(41.8% 0.172 330.4);
Tailwind
colors: {
  custom: {
    50: '#a5619e',
    500: '#7c1577',
    950: '#000000',
  },
}
SCSS
$custom: #7c1577;
$custom-light: #a5619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1577",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 302.913,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4178,
    "c": 0.17242,
    "h": 330.4
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#7C1577
secondary
#3CB141
accent
#EE433A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1577

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

Preview Lab → · Contrast checker → · Palette generator →

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