#B41B9D#B41B9D

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

Color values

HEX#B41B9D
RGBrgb(180, 27, 157)
HSLhsl(309, 74%, 41%)
HSVhsv(309, 85%, 71%)
CMYKcmyk(0%, 85%, 12.8%, 29.4%)
CIE-LABlab(42.65, 68.84, -33.30)
CIE-LCHlch(42.65, 76.47, 334.19°)
OKLaboklab(53.52% 0.2021 -0.0911)
OKLCHoklch(53.52% 0.222 335.7)
XYZxyz(25.3006, 12.9239, 33.0539)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41B9D #1BB432
analogous
#7F1BB4 #B41B9D #B41B50
triadic
#B41B9D #9DB41B #1B9DB4
tetradic
#B41B9D #B47F1B #1BB432 #1B50B4
square
#B41B9D #B47F1B #1BB432 #1B50B4
split-complementary
#B41B9D #50B41B #1BB47F
monochromatic
#4A0B40 #7F136F #B41B9D #DF2DC5 #E762D3

Accessibility & contrast

On white

5.86
#B41B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B41B9D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41B9D#FFFFFF#000000##FFFFFF
##B41B9D1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D57A0
Deuteranopia (green-blind)
#596C9A
Tritanopia (blue-blind)
#BE2B5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41b9d;
/* rgb */ color: rgb(180, 27, 157);
/* oklch */ color: oklch(53.5% 0.222 335.7);
Tailwind
colors: {
  custom: {
    50: '#cf6eba',
    500: '#b41b9d',
    950: '#000000',
  },
}
SCSS
$custom: #b41b9d;
$custom-light: #cf6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#b41b9d",
  "rgb": {
    "r": 180,
    "g": 27,
    "b": 157
  },
  "hsl": {
    "h": 309.02,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.22166,
    "h": 335.7
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#B41B9D
secondary
#5FCC6F
accent
#F15337
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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