#B41B9C#B41B9C

#B41B9C is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.221 H 336.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B41B9C
RGBrgb(180, 27, 156)
HSLhsl(309, 74%, 41%)
HSVhsv(309, 85%, 71%)
CMYKcmyk(0%, 85%, 13.3%, 29.4%)
CIE-LABlab(42.60, 68.70, -32.78)
CIE-LCHlch(42.60, 76.12, 334.50°)
OKLaboklab(53.47% 0.202 -0.0896)
OKLCHoklch(53.47% 0.221 336.1)
XYZxyz(25.2155, 12.8899, 32.6061)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41B9C #1BB433
analogous
#7F1BB4 #B41B9C #B41B4F
triadic
#B41B9C #9CB41B #1B9CB4
tetradic
#B41B9C #B47F1B #1BB433 #1B4FB4
square
#B41B9C #B47F1B #1BB433 #1B4FB4
split-complementary
#B41B9C #4FB41B #1BB47F
monochromatic
#4A0B40 #7F136E #B41B9C #DF2DC3 #E762D3

Accessibility & contrast

On white

5.87
#B41B9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B41B9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41B9C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41B9C#FFFFFF#000000##FFFFFF
##B41B9C1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569F
Deuteranopia (green-blind)
#5A6C99
Tritanopia (blue-blind)
#BE2A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41b9c;
/* rgb */ color: rgb(180, 27, 156);
/* oklch */ color: oklch(53.5% 0.221 336.1);
Tailwind
colors: {
  custom: {
    50: '#cf6eb9',
    500: '#b41b9c',
    950: '#000000',
  },
}
SCSS
$custom: #b41b9c;
$custom-light: #cf6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#b41b9c",
  "rgb": {
    "r": 180,
    "g": 27,
    "b": 156
  },
  "hsl": {
    "h": 309.412,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53471,
    "c": 0.22101,
    "h": 336.1
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#B41B9C
secondary
#5FCC70
accent
#F15437
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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