#B41BAB#B41BAB

#B41BAB is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.3% C 0.231 H 331.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B41BAB
RGBrgb(180, 27, 171)
HSLhsl(304, 74%, 41%)
HSVhsv(304, 85%, 71%)
CMYKcmyk(0%, 85%, 5%, 29.4%)
CIE-LABlab(43.40, 70.86, -40.48)
CIE-LCHlch(43.40, 81.60, 330.26°)
OKLaboklab(54.31% 0.2022 -0.1118)
OKLCHoklch(54.31% 0.231 331.1)
XYZxyz(26.5650, 13.4297, 39.7133)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41BAB #1BB424
analogous
#701BB4 #B41BAB #B41B5F
triadic
#B41BAB #ABB41B #1BABB4
tetradic
#B41BAB #B4701B #1BB424 #1B5FB4
square
#B41BAB #B4701B #1BB424 #1B5FB4
split-complementary
#B41BAB #5FB41B #1BB470
monochromatic
#4A0B46 #7F1378 #B41BAB #DF2DD5 #E762E0

Accessibility & contrast

On white

5.70
#B41BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B41BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41BAB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41BAB#FFFFFF#000000##FFFFFF
##B41BAB1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#526EA8
Tritanopia (blue-blind)
#BB3466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b41bab;
/* rgb */ color: rgb(180, 27, 171);
/* oklch */ color: oklch(54.3% 0.231 331.1);
Tailwind
colors: {
  custom: {
    50: '#cf6fc4',
    500: '#b41bab',
    950: '#000000',
  },
}
SCSS
$custom: #b41bab;
$custom-light: #cf6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b41bab",
  "rgb": {
    "r": 180,
    "g": 27,
    "b": 171
  },
  "hsl": {
    "h": 303.529,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.23104,
    "h": 331.1
  },
  "luminance": 0.13427
}

Semantic roles & 50–950 ramp

primary
#B41BAB
secondary
#5FCC65
accent
#F14237
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B41BAB

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

Preview Lab → · Contrast checker → · Palette generator →

#B41BAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva