#7B1477#7B1477

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

Color values

HEX#7B1477
RGBrgb(123, 20, 119)
HSLhsl(302, 72%, 28%)
HSVhsv(302, 84%, 48%)
CMYKcmyk(0%, 83.7%, 3.3%, 51.8%)
CIE-LABlab(29.52, 52.84, -31.27)
CIE-LCHlch(29.52, 61.40, 329.38°)
OKLaboklab(41.55% 0.1496 -0.0865)
OKLCHoklch(41.55% 0.173 330)
XYZxyz(11.7483, 6.0441, 17.9971)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1477 #147B18
analogous
#4B147B #7B1477 #7B1443
triadic
#7B1477 #777B14 #14777B
tetradic
#7B1477 #7B4B14 #147B18 #14437B
square
#7B1477 #7B4B14 #147B18 #14437B
split-complementary
#7B1477 #437B14 #147B4B
monochromatic
#1A0419 #460B44 #7B1477 #B01DAA #DD2DD6

Accessibility & contrast

On white

9.51
#7B1477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7B1477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1477
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1477#FFFFFF#000000##FFFFFF
##7B14771.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#364A75
Tritanopia (blue-blind)
#802546
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1477;
/* rgb */ color: rgb(123, 20, 119);
/* oklch */ color: oklch(41.5% 0.173 330.0);
Tailwind
colors: {
  custom: {
    50: '#a5619f',
    500: '#7b1477',
    950: '#000000',
  },
}
SCSS
$custom: #7b1477;
$custom-light: #a5619f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1477",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 302.33,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4155,
    "c": 0.1728,
    "h": 330
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#7B1477
secondary
#3AB13F
accent
#EF4039
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1477

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

Preview Lab → · Contrast checker → · Palette generator →

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