#7B1472#7B1472

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

Color values

HEX#7B1472
RGBrgb(123, 20, 114)
HSLhsl(305, 72%, 28%)
HSVhsv(305, 84%, 48%)
CMYKcmyk(0%, 83.7%, 7.3%, 51.8%)
CIE-LABlab(29.23, 52.03, -28.56)
CIE-LCHlch(29.23, 59.35, 331.24°)
OKLaboklab(41.24% 0.1496 -0.0786)
OKLCHoklch(41.24% 0.169 332.3)
XYZxyz(11.4558, 5.9272, 16.4570)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1472 #147B1D
analogous
#50147B #7B1472 #7B143E
triadic
#7B1472 #727B14 #14727B
tetradic
#7B1472 #7B5014 #147B1D #143E7B
square
#7B1472 #7B5014 #147B1D #143E7B
split-complementary
#7B1472 #3E7B14 #147B50
monochromatic
#1A0418 #460B41 #7B1472 #B01DA3 #DD2DCD

Accessibility & contrast

On white

9.61
#7B1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7B1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1472
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1472#FFFFFF#000000##FFFFFF
##7B14721.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C74
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#812243
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1472;
/* rgb */ color: rgb(123, 20, 114);
/* oklch */ color: oklch(41.2% 0.169 332.3);
Tailwind
colors: {
  custom: {
    50: '#a5619b',
    500: '#7b1472',
    950: '#000000',
  },
}
SCSS
$custom: #7b1472;
$custom-light: #a5619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1472",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 305.243,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41244,
    "c": 0.16904,
    "h": 332.3
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#7B1472
secondary
#3AB145
accent
#EF4939
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1472

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

Preview Lab → · Contrast checker → · Palette generator →

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