#7B1371#7B1371

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

Color values

HEX#7B1371
RGBrgb(123, 19, 113)
HSLhsl(306, 73%, 28%)
HSVhsv(306, 85%, 48%)
CMYKcmyk(0%, 84.6%, 8.1%, 51.8%)
CIE-LABlab(29.08, 52.13, -28.15)
CIE-LCHlch(29.08, 59.24, 331.63°)
OKLaboklab(41.12% 0.1504 -0.0775)
OKLCHoklch(41.12% 0.169 332.7)
XYZxyz(11.3820, 5.8700, 16.1531)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1371 #137B1D
analogous
#51137B #7B1371 #7B133D
triadic
#7B1371 #717B13 #13717B
tetradic
#7B1371 #7B5113 #137B1D #133D7B
square
#7B1371 #7B5113 #137B1D #133D7B
split-complementary
#7B1371 #3D7B13 #137B51
monochromatic
#1B0418 #460B40 #7B1371 #B01BA2 #DE2ACD

Accessibility & contrast

On white

9.66
#7B1371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7B1371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1371
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1371#FFFFFF#000000##FFFFFF
##7B13711.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1371;
/* rgb */ color: rgb(123, 19, 113);
/* oklch */ color: oklch(41.1% 0.169 332.7);
Tailwind
colors: {
  custom: {
    50: '#a5609a',
    500: '#7b1371',
    950: '#000000',
  },
}
SCSS
$custom: #7b1371;
$custom-light: #a5609a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1371",
  "rgb": {
    "r": 123,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 305.769,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41122,
    "c": 0.16915,
    "h": 332.7
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#7B1371
secondary
#39B144
accent
#F04A38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7B1371

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

Preview Lab → · Contrast checker → · Palette generator →

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