#7B1373#7B1373

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

Color values

HEX#7B1373
RGBrgb(123, 19, 115)
HSLhsl(305, 73%, 28%)
HSVhsv(305, 85%, 48%)
CMYKcmyk(0%, 84.6%, 6.5%, 51.8%)
CIE-LABlab(29.20, 52.45, -29.24)
CIE-LCHlch(29.20, 60.05, 330.86°)
OKLaboklab(41.24% 0.1504 -0.0806)
OKLCHoklch(41.24% 0.171 331.8)
XYZxyz(11.4958, 5.9155, 16.7527)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1373 #137B1B
analogous
#4F137B #7B1373 #7B133F
triadic
#7B1373 #737B13 #13737B
tetradic
#7B1373 #7B4F13 #137B1B #133F7B
square
#7B1373 #7B4F13 #137B1B #133F7B
split-complementary
#7B1373 #3F7B13 #137B4F
monochromatic
#1B0419 #460B41 #7B1373 #B01BA5 #DE2AD0

Accessibility & contrast

On white

9.62
#7B1373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1373
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1373#FFFFFF#000000##FFFFFF
##7B13731.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C75
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#802244
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1373;
/* rgb */ color: rgb(123, 19, 115);
/* oklch */ color: oklch(41.2% 0.171 331.8);
Tailwind
colors: {
  custom: {
    50: '#a5609c',
    500: '#7b1373',
    950: '#000000',
  },
}
SCSS
$custom: #7b1373;
$custom-light: #a5609c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1373",
  "rgb": {
    "r": 123,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 304.615,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41242,
    "c": 0.17063,
    "h": 331.8
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#7B1373
secondary
#39B142
accent
#F04638
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7B1373

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

Preview Lab → · Contrast checker → · Palette generator →

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