#7B1476#7B1476

#7B1476 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.172 H 330.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7B1476
RGBrgb(123, 20, 118)
HSLhsl(303, 72%, 28%)
HSVhsv(303, 84%, 48%)
CMYKcmyk(0%, 83.7%, 4.1%, 51.8%)
CIE-LABlab(29.46, 52.68, -30.73)
CIE-LCHlch(29.46, 60.99, 329.74°)
OKLaboklab(41.49% 0.1496 -0.0849)
OKLCHoklch(41.49% 0.172 330.4)
XYZxyz(11.6885, 6.0202, 17.6824)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1476 #147B19
analogous
#4D147B #7B1476 #7B1442
triadic
#7B1476 #767B14 #14767B
tetradic
#7B1476 #7B4D14 #147B19 #14427B
square
#7B1476 #7B4D14 #147B19 #14427B
split-complementary
#7B1476 #427B14 #147B4D
monochromatic
#1A0419 #460B43 #7B1476 #B01DA8 #DD2DD4

Accessibility & contrast

On white

9.53
#7B1476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7B1476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1476
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1476#FFFFFF#000000##FFFFFF
##7B14761.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013D78
Deuteranopia (green-blind)
#364A74
Tritanopia (blue-blind)
#802446
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1476;
/* rgb */ color: rgb(123, 20, 118);
/* oklch */ color: oklch(41.5% 0.172 330.4);
Tailwind
colors: {
  custom: {
    50: '#a5619e',
    500: '#7b1476',
    950: '#000000',
  },
}
SCSS
$custom: #7b1476;
$custom-light: #a5619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1476",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 302.913,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41488,
    "c": 0.17205,
    "h": 330.4
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#7B1476
secondary
#3AB140
accent
#EF4239
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1476

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

Preview Lab → · Contrast checker → · Palette generator →

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