#7B1570#7B1570

#7B1570 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.167 H 333.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7B1570
RGBrgb(123, 21, 112)
HSLhsl(306, 71%, 28%)
HSVhsv(306, 83%, 48%)
CMYKcmyk(0%, 82.9%, 8.9%, 51.8%)
CIE-LABlab(29.20, 51.45, -27.31)
CIE-LCHlch(29.20, 58.25, 332.04°)
OKLaboklab(41.19% 0.1488 -0.0751)
OKLCHoklch(41.19% 0.167 333.2)
XYZxyz(11.3613, 5.9181, 15.8700)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1570 #157B20
analogous
#53157B #7B1570 #7B153D
triadic
#7B1570 #707B15 #15707B
tetradic
#7B1570 #7B5315 #157B20 #153D7B
square
#7B1570 #7B5315 #157B20 #153D7B
split-complementary
#7B1570 #3D7B15 #157B53
monochromatic
#1A0418 #470C40 #7B1570 #AF1EA0 #DB2FC9

Accessibility & contrast

On white

9.62
#7B1570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7B1570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1570
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1570#FFFFFF#000000##FFFFFF
##7B15701.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3C72
Deuteranopia (green-blind)
#3A4A6E
Tritanopia (blue-blind)
#812143
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1570;
/* rgb */ color: rgb(123, 21, 112);
/* oklch */ color: oklch(41.2% 0.167 333.2);
Tailwind
colors: {
  custom: {
    50: '#a56199',
    500: '#7b1570',
    950: '#000000',
  },
}
SCSS
$custom: #7b1570;
$custom-light: #a56199;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1570",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 306.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41191,
    "c": 0.16668,
    "h": 333.2
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#7B1570
secondary
#3BB048
accent
#EE4E3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1570

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

Preview Lab → · Contrast checker → · Palette generator →

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