#7B1879#7B1879

#7B1879 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.171 H 329.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7B1879
RGBrgb(123, 24, 121)
HSLhsl(301, 67%, 29%)
HSVhsv(301, 80%, 48%)
CMYKcmyk(0%, 80.5%, 1.6%, 51.8%)
CIE-LABlab(30.02, 52.08, -31.74)
CIE-LCHlch(30.02, 60.99, 328.64°)
OKLaboklab(41.95% 0.1464 -0.0879)
OKLCHoklch(41.95% 0.171 329)
XYZxyz(11.9461, 6.2456, 18.6618)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1879 #187B1A
analogous
#4C187B #7B1879 #7B1848
triadic
#7B1879 #797B18 #18797B
tetradic
#7B1879 #7B4C18 #187B1A #18487B
square
#7B1879 #7B4C18 #187B1A #18487B
split-complementary
#7B1879 #487B18 #187B4C
monochromatic
#1A0519 #480E47 #7B1879 #AE22AB #D836D4

Accessibility & contrast

On white

9.34
#7B1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7B1879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1879
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1879#FFFFFF#000000##FFFFFF
##7B18791.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7C
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#7F2848
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1879;
/* rgb */ color: rgb(123, 24, 121);
/* oklch */ color: oklch(41.9% 0.171 329.0);
Tailwind
colors: {
  custom: {
    50: '#a562a0',
    500: '#7b1879',
    950: '#000000',
  },
}
SCSS
$custom: #7b1879;
$custom-light: #a562a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1879",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 301.212,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41945,
    "c": 0.17076,
    "h": 329
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#7B1879
secondary
#3FB041
accent
#EA413E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7B1879

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

Preview Lab → · Contrast checker → · Palette generator →

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