#7B1B88#7B1B88

#7B1B88 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.180 H 322.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7B1B88
RGBrgb(123, 27, 136)
HSLhsl(293, 67%, 32%)
HSVhsv(293, 80%, 53%)
CMYKcmyk(9.6%, 80.1%, 0%, 46.7%)
CIE-LABlab(31.28, 53.83, -39.14)
CIE-LCHlch(31.28, 66.55, 323.98°)
OKLaboklab(43.14% 0.1429 -0.1095)
OKLCHoklch(43.14% 0.18 322.5)
XYZxyz(13.0038, 6.7732, 23.9102)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B88 #28881B
analogous
#451B88 #7B1B88 #881B5F
triadic
#7B1B88 #887B1B #1B887B
tetradic
#7B1B88 #88451B #28881B #1B5F88
square
#7B1B88 #88451B #28881B #1B5F88
split-complementary
#7B1B88 #5F881B #1B8845
monochromatic
#1F0722 #4D1155 #7B1B88 #A925BB #C844DA

Accessibility & contrast

On white

8.92
#7B1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7B1B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B88
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B88#FFFFFF#000000##FFFFFF
##7B1B881.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#2D4D86
Tritanopia (blue-blind)
#7D3152
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b1b88;
/* rgb */ color: rgb(123, 27, 136);
/* oklch */ color: oklch(43.1% 0.180 322.5);
Tailwind
colors: {
  custom: {
    50: '#a564ab',
    500: '#7b1b88',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b88;
$custom-light: #a564ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b88",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 292.844,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43144,
    "c": 0.18005,
    "h": 322.5
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#7B1B88
secondary
#52BB44
accent
#EA3E53
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1B88

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

Preview Lab → · Contrast checker → · Palette generator →

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