#7B1471#7B1471

#7B1471 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.168 H 332.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7B1471
RGBrgb(123, 20, 113)
HSLhsl(306, 72%, 28%)
HSVhsv(306, 84%, 48%)
CMYKcmyk(0%, 83.7%, 8.1%, 51.8%)
CIE-LABlab(29.17, 51.88, -28.01)
CIE-LCHlch(29.17, 58.95, 331.63°)
OKLaboklab(41.19% 0.1496 -0.0771)
OKLCHoklch(41.19% 0.168 332.7)
XYZxyz(11.3992, 5.9045, 16.1589)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1471 #147B1E
analogous
#51147B #7B1471 #7B143D
triadic
#7B1471 #717B14 #14717B
tetradic
#7B1471 #7B5114 #147B1E #143D7B
square
#7B1471 #7B5114 #147B1E #143D7B
split-complementary
#7B1471 #3D7B14 #147B51
monochromatic
#1A0418 #460B41 #7B1471 #B01DA1 #DD2DCC

Accessibility & contrast

On white

9.63
#7B1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7B1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1471
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1471#FFFFFF#000000##FFFFFF
##7B14711.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3C73
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#812143
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1471;
/* rgb */ color: rgb(123, 20, 113);
/* oklch */ color: oklch(41.2% 0.168 332.7);
Tailwind
colors: {
  custom: {
    50: '#a5619a',
    500: '#7b1471',
    950: '#000000',
  },
}
SCSS
$custom: #7b1471;
$custom-light: #a5619a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1471",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 305.825,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41185,
    "c": 0.1683,
    "h": 332.7
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#7B1471
secondary
#3AB146
accent
#EF4B39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7B1471

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

Preview Lab → · Contrast checker → · Palette generator →

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