#B41B9F#B41B9F

#B41B9F is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.223 H 335.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B41B9F
RGBrgb(180, 27, 159)
HSLhsl(308, 74%, 41%)
HSVhsv(308, 85%, 71%)
CMYKcmyk(0%, 85%, 11.7%, 29.4%)
CIE-LABlab(42.75, 69.12, -34.34)
CIE-LCHlch(42.75, 77.18, 333.58°)
OKLaboklab(53.63% 0.2022 -0.0941)
OKLCHoklch(53.63% 0.223 335)
XYZxyz(25.4727, 12.9928, 33.9605)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41B9F #1BB430
analogous
#7C1BB4 #B41B9F #B41B53
triadic
#B41B9F #9FB41B #1B9FB4
tetradic
#B41B9F #B47C1B #1BB430 #1B53B4
square
#B41B9F #B47C1B #1BB430 #1B53B4
split-complementary
#B41B9F #53B41B #1BB47C
monochromatic
#4A0B41 #7F1370 #B41B9F #DF2DC7 #E762D5

Accessibility & contrast

On white

5.84
#B41B9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B41B9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41B9F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41B9F#FFFFFF#000000##FFFFFF
##B41B9F1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A2
Deuteranopia (green-blind)
#586D9C
Tritanopia (blue-blind)
#BD2C5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41b9f;
/* rgb */ color: rgb(180, 27, 159);
/* oklch */ color: oklch(53.6% 0.223 335.0);
Tailwind
colors: {
  custom: {
    50: '#cf6ebc',
    500: '#b41b9f',
    950: '#000000',
  },
}
SCSS
$custom: #b41b9f;
$custom-light: #cf6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#b41b9f",
  "rgb": {
    "r": 180,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 308.235,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53632,
    "c": 0.22297,
    "h": 335
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#B41B9F
secondary
#5FCC6E
accent
#F15137
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B41B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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