#7B1C71#7B1C71

#7B1C71 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.160 H 332.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7B1C71
RGBrgb(123, 28, 113)
HSLhsl(306, 63%, 30%)
HSVhsv(306, 77%, 48%)
CMYKcmyk(0%, 77.2%, 8.1%, 51.8%)
CIE-LABlab(30.00, 49.50, -26.70)
CIE-LCHlch(30.00, 56.24, 331.65°)
OKLaboklab(41.78% 0.1427 -0.0733)
OKLCHoklch(41.78% 0.16 332.8)
XYZxyz(11.5643, 6.2347, 16.2139)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C71 #1C7B26
analogous
#561C7B #7B1C71 #7B1C41
triadic
#7B1C71 #717B1C #1C717B
tetradic
#7B1C71 #7B561C #1C7B26 #1C417B
square
#7B1C71 #7B561C #1C7B26 #1C417B
split-complementary
#7B1C71 #417B1C #1C7B56
monochromatic
#190617 #491143 #7B1C71 #AD279F #D33EC3

Accessibility & contrast

On white

9.35
#7B1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7B1C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C71
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C71#FFFFFF#000000##FFFFFF
##7B1C711.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#3C4B6F
Tritanopia (blue-blind)
#812645
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1c71;
/* rgb */ color: rgb(123, 28, 113);
/* oklch */ color: oklch(41.8% 0.160 332.8);
Tailwind
colors: {
  custom: {
    50: '#a4639a',
    500: '#7b1c71',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c71;
$custom-light: #a4639a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c71",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 306.316,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41776,
    "c": 0.16041,
    "h": 332.8
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#7B1C71
secondary
#44AF4F
accent
#E65342
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1C71

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

Preview Lab → · Contrast checker → · Palette generator →

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