#7B1479#7B1479

#7B1479 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.174 H 329.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7B1479
RGBrgb(123, 20, 121)
HSLhsl(301, 72%, 28%)
HSVhsv(301, 84%, 48%)
CMYKcmyk(0%, 83.7%, 1.6%, 51.8%)
CIE-LABlab(29.65, 53.17, -32.35)
CIE-LCHlch(29.65, 62.24, 328.69°)
OKLaboklab(41.68% 0.1495 -0.0896)
OKLCHoklch(41.68% 0.174 329.1)
XYZxyz(11.8696, 6.0927, 18.6363)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1479 #147B16
analogous
#49147B #7B1479 #7B1445
triadic
#7B1479 #797B14 #14797B
tetradic
#7B1479 #7B4914 #147B16 #14457B
square
#7B1479 #7B4914 #147B16 #14457B
split-complementary
#7B1479 #457B14 #147B49
monochromatic
#1A041A #460B45 #7B1479 #B01DAD #DD2DD9

Accessibility & contrast

On white

9.47
#7B1479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7B1479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1479
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1479#FFFFFF#000000##FFFFFF
##7B14791.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#354A77
Tritanopia (blue-blind)
#7F2647
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1479;
/* rgb */ color: rgb(123, 20, 121);
/* oklch */ color: oklch(41.7% 0.174 329.1);
Tailwind
colors: {
  custom: {
    50: '#a561a0',
    500: '#7b1479',
    950: '#000000',
  },
}
SCSS
$custom: #7b1479;
$custom-light: #a561a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1479",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 301.165,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41675,
    "c": 0.17433,
    "h": 329.1
  },
  "luminance": 0.06092
}

Semantic roles & 50–950 ramp

primary
#7B1479
secondary
#3AB13D
accent
#EF3D39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B1479

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

Preview Lab → · Contrast checker → · Palette generator →

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