#7C1570#7C1570

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

Color values

HEX#7C1570
RGBrgb(124, 21, 112)
HSLhsl(307, 71%, 28%)
HSVhsv(307, 83%, 49%)
CMYKcmyk(0%, 83.1%, 9.7%, 51.4%)
CIE-LABlab(29.39, 51.68, -27.00)
CIE-LCHlch(29.39, 58.31, 332.41°)
OKLaboklab(41.36% 0.1499 -0.0741)
OKLCHoklch(41.36% 0.167 333.7)
XYZxyz(11.5051, 5.9923, 15.8768)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1570 #157C21
analogous
#54157C #7C1570 #7C153C
triadic
#7C1570 #707C15 #15707C
tetradic
#7C1570 #7C5415 #157C21 #153C7C
square
#7C1570 #7C5415 #157C21 #153C7C
split-complementary
#7C1570 #3C7C15 #157C54
monochromatic
#1A0418 #480C41 #7C1570 #B01E9F #DC30C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1570#FFFFFF#000000##FFFFFF
##7C15701.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)
#113C72
Deuteranopia (green-blind)
#3B4A6E
Tritanopia (blue-blind)
#822143
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1570;
/* rgb */ color: rgb(124, 21, 112);
/* oklch */ color: oklch(41.4% 0.167 333.7);
Tailwind
colors: {
  custom: {
    50: '#a56199',
    500: '#7c1570',
    950: '#000000',
  },
}
SCSS
$custom: #7c1570;
$custom-light: #a56199;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1570",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 306.99,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4136,
    "c": 0.1672,
    "h": 333.7
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#7C1570
secondary
#3CB149
accent
#EE4F3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1570

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

Preview Lab → · Contrast checker → · Palette generator →

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