#B41A9F#B41A9F

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

Color values

HEX#B41A9F
RGBrgb(180, 26, 159)
HSLhsl(308, 75%, 40%)
HSVhsv(308, 86%, 71%)
CMYKcmyk(0%, 85.6%, 11.7%, 29.4%)
CIE-LABlab(42.68, 69.32, -34.44)
CIE-LCHlch(42.68, 77.41, 333.58°)
OKLaboklab(53.58% 0.2027 -0.0944)
OKLCHoklch(53.58% 0.224 335)
XYZxyz(25.4502, 12.9477, 33.9530)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41A9F #1AB42F
analogous
#7C1AB4 #B41A9F #B41A52
triadic
#B41A9F #9FB41A #1A9FB4
tetradic
#B41A9F #B47C1A #1AB42F #1A52B4
square
#B41A9F #B47C1A #1AB42F #1A52B4
split-complementary
#B41A9F #52B41A #1AB47C
monochromatic
#490B41 #7F1270 #B41A9F #E02BC8 #E860D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B41A9F#FFFFFF#000000##FFFFFF
##B41A9F1.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)
#1857A2
Deuteranopia (green-blind)
#586C9C
Tritanopia (blue-blind)
#BD2C5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41a9f;
/* rgb */ color: rgb(180, 26, 159);
/* oklch */ color: oklch(53.6% 0.224 335.0);
Tailwind
colors: {
  custom: {
    50: '#cf6ebc',
    500: '#b41a9f',
    950: '#000000',
  },
}
SCSS
$custom: #b41a9f;
$custom-light: #cf6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#b41a9f",
  "rgb": {
    "r": 180,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 308.182,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53584,
    "c": 0.22363,
    "h": 335
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#B41A9F
secondary
#5DCC6D
accent
#F15036
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B41A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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