#7B1B71#7B1B71

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

Color values

HEX#7B1B71
RGBrgb(123, 27, 113)
HSLhsl(306, 64%, 29%)
HSVhsv(306, 78%, 48%)
CMYKcmyk(0%, 78%, 8.1%, 51.8%)
CIE-LABlab(29.88, 49.83, -26.88)
CIE-LCHlch(29.88, 56.62, 331.65°)
OKLaboklab(41.69% 0.1436 -0.0739)
OKLCHoklch(41.69% 0.162 332.8)
XYZxyz(11.5410, 6.1881, 16.2062)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B71 #1B7B25
analogous
#551B7B #7B1B71 #7B1B41
triadic
#7B1B71 #717B1B #1B717B
tetradic
#7B1B71 #7B551B #1B7B25 #1B417B
square
#7B1B71 #7B551B #1B7B25 #1B417B
split-complementary
#7B1B71 #417B1B #1B7B55
monochromatic
#190617 #491043 #7B1B71 #AD269F #D43CC4

Accessibility & contrast

On white

9.39
#7B1B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B1B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B71
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B71#FFFFFF#000000##FFFFFF
##7B1B711.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1b71;
/* rgb */ color: rgb(123, 27, 113);
/* oklch */ color: oklch(41.7% 0.162 332.8);
Tailwind
colors: {
  custom: {
    50: '#a4639a',
    500: '#7b1b71',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b71;
$custom-light: #a4639a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b71",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 306.25,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.16151,
    "h": 332.8
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#7B1B71
secondary
#43AF4E
accent
#E75241
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1B71

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

Preview Lab → · Contrast checker → · Palette generator →

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