#B41CAB#B41CAB

#B41CAB is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.4% C 0.230 H 331.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B41CAB
RGBrgb(180, 28, 171)
HSLhsl(304, 73%, 41%)
HSVhsv(304, 84%, 71%)
CMYKcmyk(0%, 84.4%, 5%, 29.4%)
CIE-LABlab(43.47, 70.66, -40.37)
CIE-LCHlch(43.47, 81.38, 330.26°)
OKLaboklab(54.35% 0.2016 -0.1115)
OKLCHoklch(54.35% 0.23 331)
XYZxyz(26.5883, 13.4763, 39.7210)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41CAB #1CB425
analogous
#711CB4 #B41CAB #B41C5F
triadic
#B41CAB #ABB41C #1CABB4
tetradic
#B41CAB #B4711C #1CB425 #1C5FB4
square
#B41CAB #B4711C #1CB425 #1C5FB4
split-complementary
#B41CAB #5FB41C #1CB471
monochromatic
#4A0C46 #7F1479 #B41CAB #DF2FD4 #E764DF

Accessibility & contrast

On white

5.68
#B41CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B41CAB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41CAB#FFFFFF#000000##FFFFFF
##B41CAB1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b41cab;
/* rgb */ color: rgb(180, 28, 171);
/* oklch */ color: oklch(54.4% 0.230 331.0);
Tailwind
colors: {
  custom: {
    50: '#cf6fc4',
    500: '#b41cab',
    950: '#000000',
  },
}
SCSS
$custom: #b41cab;
$custom-light: #cf6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b41cab",
  "rgb": {
    "r": 180,
    "g": 28,
    "b": 171
  },
  "hsl": {
    "h": 303.553,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.23038,
    "h": 331
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

primary
#B41CAB
secondary
#60CC67
accent
#F04338
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B41CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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