#B41BAD#B41BAD

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

Color values

HEX#B41BAD
RGBrgb(180, 27, 173)
HSLhsl(303, 74%, 41%)
HSVhsv(303, 85%, 71%)
CMYKcmyk(0%, 85%, 3.9%, 29.4%)
CIE-LABlab(43.52, 71.16, -41.48)
CIE-LCHlch(43.52, 82.37, 329.76°)
OKLaboklab(54.42% 0.2021 -0.1148)
OKLCHoklch(54.42% 0.232 330.4)
XYZxyz(26.7571, 13.5065, 40.7248)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41BAD #1BB422
analogous
#6E1BB4 #B41BAD #B41B60
triadic
#B41BAD #ADB41B #1BADB4
tetradic
#B41BAD #B46E1B #1BB422 #1B60B4
square
#B41BAD #B46E1B #1BB422 #1B60B4
split-complementary
#B41BAD #60B41B #1BB46E
monochromatic
#4A0B47 #7F137A #B41BAD #DF2DD7 #E762E1

Accessibility & contrast

On white

5.67
#B41BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B41BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41BAD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41BAD#FFFFFF#000000##FFFFFF
##B41BAD1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#516EAA
Tritanopia (blue-blind)
#BB3567
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b41bad;
/* rgb */ color: rgb(180, 27, 173);
/* oklch */ color: oklch(54.4% 0.232 330.4);
Tailwind
colors: {
  custom: {
    50: '#cf6fc6',
    500: '#b41bad',
    950: '#000000',
  },
}
SCSS
$custom: #b41bad;
$custom-light: #cf6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#b41bad",
  "rgb": {
    "r": 180,
    "g": 27,
    "b": 173
  },
  "hsl": {
    "h": 302.745,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.23241,
    "h": 330.4
  },
  "luminance": 0.13504
}

Semantic roles & 50–950 ramp

primary
#B41BAD
secondary
#5FCC64
accent
#F14037
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B41BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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