#B41BAC#B41BAC

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

Color values

HEX#B41BAC
RGBrgb(180, 27, 172)
HSLhsl(303, 74%, 41%)
HSVhsv(303, 85%, 71%)
CMYKcmyk(0%, 85%, 4.4%, 29.4%)
CIE-LABlab(43.46, 71.01, -40.98)
CIE-LCHlch(43.46, 81.98, 330.01°)
OKLaboklab(54.36% 0.2021 -0.1133)
OKLCHoklch(54.36% 0.232 330.7)
XYZxyz(26.6607, 13.4680, 40.2171)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41BAC #1BB423
analogous
#6F1BB4 #B41BAC #B41B60
triadic
#B41BAC #ACB41B #1BACB4
tetradic
#B41BAC #B46F1B #1BB423 #1B60B4
square
#B41BAC #B46F1B #1BB423 #1B60B4
split-complementary
#B41BAC #60B41B #1BB46F
monochromatic
#4A0B46 #7F1379 #B41BAC #DF2DD6 #E762E0

Accessibility & contrast

On white

5.69
#B41BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B41BAC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41BAC#FFFFFF#000000##FFFFFF
##B41BAC1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b41bac;
/* rgb */ color: rgb(180, 27, 172);
/* oklch */ color: oklch(54.4% 0.232 330.7);
Tailwind
colors: {
  custom: {
    50: '#cf6fc5',
    500: '#b41bac',
    950: '#000000',
  },
}
SCSS
$custom: #b41bac;
$custom-light: #cf6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b41bac",
  "rgb": {
    "r": 180,
    "g": 27,
    "b": 172
  },
  "hsl": {
    "h": 303.137,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54363,
    "c": 0.23173,
    "h": 330.7
  },
  "luminance": 0.13466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B41BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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