#B41B9E#B41B9E

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

Color values

HEX#B41B9E
RGBrgb(180, 27, 158)
HSLhsl(309, 74%, 41%)
HSVhsv(309, 85%, 71%)
CMYKcmyk(0%, 85%, 12.2%, 29.4%)
CIE-LABlab(42.70, 68.98, -33.82)
CIE-LCHlch(42.70, 76.83, 333.88°)
OKLaboklab(53.58% 0.2021 -0.0926)
OKLCHoklch(53.58% 0.222 335.4)
XYZxyz(25.3863, 12.9582, 33.5053)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41B9E #1BB431
analogous
#7D1BB4 #B41B9E #B41B52
triadic
#B41B9E #9EB41B #1B9EB4
tetradic
#B41B9E #B47D1B #1BB431 #1B52B4
square
#B41B9E #B47D1B #1BB431 #1B52B4
split-complementary
#B41B9E #52B41B #1BB47D
monochromatic
#4A0B41 #7F136F #B41B9E #DF2DC6 #E762D4

Accessibility & contrast

On white

5.85
#B41B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B41B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41B9E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41B9E#FFFFFF#000000##FFFFFF
##B41B9E1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B57A1
Deuteranopia (green-blind)
#596C9B
Tritanopia (blue-blind)
#BD2C5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41b9e;
/* rgb */ color: rgb(180, 27, 158);
/* oklch */ color: oklch(53.6% 0.222 335.4);
Tailwind
colors: {
  custom: {
    50: '#cf6ebb',
    500: '#b41b9e',
    950: '#000000',
  },
}
SCSS
$custom: #b41b9e;
$custom-light: #cf6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#b41b9e",
  "rgb": {
    "r": 180,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 308.627,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53578,
    "c": 0.22231,
    "h": 335.4
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B41B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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