#7B1B7B#7B1B7B

#7B1B7B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.169 H 328.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7B1B7B
RGBrgb(123, 27, 123)
HSLhsl(300, 64%, 29%)
HSVhsv(300, 78%, 48%)
CMYKcmyk(0%, 78%, 0%, 51.8%)
CIE-LABlab(30.46, 51.50, -32.31)
CIE-LCHlch(30.46, 60.80, 327.90°)
OKLaboklab(42.3% 0.1437 -0.0896)
OKLCHoklch(42.3% 0.169 328.1)
XYZxyz(12.1353, 6.4258, 19.3362)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B7B #1B7B1B
analogous
#4B1B7B #7B1B7B #7B1B4B
triadic
#7B1B7B #7B7B1B #1B7B7B
tetradic
#7B1B7B #7B4B1B #1B7B1B #1B4B7B
square
#7B1B7B #7B4B1B #1B7B1B #1B4B7B
split-complementary
#7B1B7B #4B7B1B #1B7B4B
monochromatic
#190619 #491049 #7B1B7B #AD26AD #D43CD4

Accessibility & contrast

On white

9.19
#7B1B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7B1B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B7B
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B7B#FFFFFF#000000##FFFFFF
##7B1B7B1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407E
Deuteranopia (green-blind)
#364C79
Tritanopia (blue-blind)
#7F2B4A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b1b7b;
/* rgb */ color: rgb(123, 27, 123);
/* oklch */ color: oklch(42.3% 0.169 328.1);
Tailwind
colors: {
  custom: {
    50: '#a563a1',
    500: '#7b1b7b',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b7b;
$custom-light: #a563a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b7b",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 300,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.16937,
    "h": 328.1
  },
  "luminance": 0.06425
}

Semantic roles & 50–950 ramp

primary
#7B1B7B
secondary
#43AF43
accent
#E74141
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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