#7B1573#7B1573

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

Color values

HEX#7B1573
RGBrgb(123, 21, 115)
HSLhsl(305, 71%, 28%)
HSVhsv(305, 83%, 48%)
CMYKcmyk(0%, 82.9%, 6.5%, 51.8%)
CIE-LABlab(29.38, 51.93, -28.96)
CIE-LCHlch(29.38, 59.46, 330.85°)
OKLaboklab(41.37% 0.1489 -0.0798)
OKLCHoklch(41.37% 0.169 331.8)
XYZxyz(11.5311, 5.9861, 16.7644)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1573 #157B1D
analogous
#50157B #7B1573 #7B1540
triadic
#7B1573 #737B15 #15737B
tetradic
#7B1573 #7B5015 #157B1D #15407B
square
#7B1573 #7B5015 #157B1D #15407B
split-complementary
#7B1573 #407B15 #157B50
monochromatic
#1A0418 #470C42 #7B1573 #AF1EA4 #DB2FCE

Accessibility & contrast

On white

9.56
#7B1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1573
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1573#FFFFFF#000000##FFFFFF
##7B15731.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C75
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#802344
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1573;
/* rgb */ color: rgb(123, 21, 115);
/* oklch */ color: oklch(41.4% 0.169 331.8);
Tailwind
colors: {
  custom: {
    50: '#a5619b',
    500: '#7b1573',
    950: '#000000',
  },
}
SCSS
$custom: #7b1573;
$custom-light: #a5619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1573",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 304.706,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4137,
    "c": 0.16891,
    "h": 331.8
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B1573

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

Preview Lab → · Contrast checker → · Palette generator →

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