#7B1576#7B1576

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

Color values

HEX#7B1576
RGBrgb(123, 21, 118)
HSLhsl(303, 71%, 28%)
HSVhsv(303, 83%, 48%)
CMYKcmyk(0%, 82.9%, 4.1%, 51.8%)
CIE-LABlab(29.55, 52.42, -30.59)
CIE-LCHlch(29.55, 60.69, 329.74°)
OKLaboklab(41.55% 0.1489 -0.0845)
OKLCHoklch(41.55% 0.171 330.4)
XYZxyz(11.7065, 6.0562, 17.6884)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1576 #157B1A
analogous
#4D157B #7B1576 #7B1543
triadic
#7B1576 #767B15 #15767B
tetradic
#7B1576 #7B4D15 #157B1A #15437B
square
#7B1576 #7B4D15 #157B1A #15437B
split-complementary
#7B1576 #437B15 #157B4D
monochromatic
#1A0419 #470C44 #7B1576 #AF1EA8 #DB2FD3

Accessibility & contrast

On white

9.50
#7B1576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7B1576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1576
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1576#FFFFFF#000000##FFFFFF
##7B15761.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D78
Deuteranopia (green-blind)
#374A74
Tritanopia (blue-blind)
#802546
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1576;
/* rgb */ color: rgb(123, 21, 118);
/* oklch */ color: oklch(41.6% 0.171 330.4);
Tailwind
colors: {
  custom: {
    50: '#a5619e',
    500: '#7b1576',
    950: '#000000',
  },
}
SCSS
$custom: #7b1576;
$custom-light: #a5619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1576",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 302.941,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41552,
    "c": 0.17118,
    "h": 330.4
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B1576

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

Preview Lab → · Contrast checker → · Palette generator →

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