#B41BA1#B41BA1

#B41BA1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.224 H 334.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B41BA1
RGBrgb(180, 27, 161)
HSLhsl(307, 74%, 41%)
HSVhsv(307, 85%, 71%)
CMYKcmyk(0%, 85%, 10.6%, 29.4%)
CIE-LABlab(42.86, 69.41, -35.37)
CIE-LCHlch(42.86, 77.90, 333.00°)
OKLaboklab(53.74% 0.2022 -0.0971)
OKLCHoklch(53.74% 0.224 334.4)
XYZxyz(25.6477, 13.0628, 34.8819)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41BA1 #1BB42E
analogous
#7A1BB4 #B41BA1 #B41B54
triadic
#B41BA1 #A1B41B #1BA1B4
tetradic
#B41BA1 #B47A1B #1BB42E #1B54B4
square
#B41BA1 #B47A1B #1BB42E #1B54B4
split-complementary
#B41BA1 #54B41B #1BB47A
monochromatic
#4A0B42 #7F1371 #B41BA1 #DF2DC9 #E762D7

Accessibility & contrast

On white

5.81
#B41BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B41BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41BA1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41BA1#FFFFFF#000000##FFFFFF
##B41BA11.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A4
Deuteranopia (green-blind)
#576D9E
Tritanopia (blue-blind)
#BD2E60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41ba1;
/* rgb */ color: rgb(180, 27, 161);
/* oklch */ color: oklch(53.7% 0.224 334.4);
Tailwind
colors: {
  custom: {
    50: '#cf6ebd',
    500: '#b41ba1',
    950: '#000000',
  },
}
SCSS
$custom: #b41ba1;
$custom-light: #cf6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#b41ba1",
  "rgb": {
    "r": 180,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 307.451,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.22429,
    "h": 334.4
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#B41BA1
secondary
#5FCC6C
accent
#F14E37
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B41BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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