#7B1473#7B1473

#7B1473 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.170 H 331.8°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7B1473
RGBrgb(123, 20, 115)
HSLhsl(305, 72%, 28%)
HSVhsv(305, 84%, 48%)
CMYKcmyk(0%, 83.7%, 6.5%, 51.8%)
CIE-LABlab(29.29, 52.19, -29.10)
CIE-LCHlch(29.29, 59.76, 330.86°)
OKLaboklab(41.31% 0.1496 -0.0802)
OKLCHoklch(41.31% 0.17 331.8)
XYZxyz(11.5131, 5.9501, 16.7584)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1473 #147B1C
analogous
#4F147B #7B1473 #7B143F
triadic
#7B1473 #737B14 #14737B
tetradic
#7B1473 #7B4F14 #147B1C #143F7B
square
#7B1473 #7B4F14 #147B1C #143F7B
split-complementary
#7B1473 #3F7B14 #147B4F
monochromatic
#1A0419 #460B42 #7B1473 #B01DA4 #DD2DCF

Accessibility & contrast

On white

9.59
#7B1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1473
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1473#FFFFFF#000000##FFFFFF
##7B14731.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083C75
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#802244
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1473;
/* rgb */ color: rgb(123, 20, 115);
/* oklch */ color: oklch(41.3% 0.170 331.8);
Tailwind
colors: {
  custom: {
    50: '#a5619b',
    500: '#7b1473',
    950: '#000000',
  },
}
SCSS
$custom: #7b1473;
$custom-light: #a5619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1473",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 304.66,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41305,
    "c": 0.16978,
    "h": 331.8
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#7B1473
secondary
#3AB143
accent
#EF4739
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1473

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

Preview Lab → · Contrast checker → · Palette generator →

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