#B41A9E#B41A9E

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

Color values

HEX#B41A9E
RGBrgb(180, 26, 158)
HSLhsl(309, 75%, 40%)
HSVhsv(309, 86%, 71%)
CMYKcmyk(0%, 85.6%, 12.2%, 29.4%)
CIE-LABlab(42.63, 69.18, -33.93)
CIE-LCHlch(42.63, 77.05, 333.88°)
OKLaboklab(53.53% 0.2027 -0.0929)
OKLCHoklch(53.53% 0.223 335.4)
XYZxyz(25.3638, 12.9131, 33.4978)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41A9E #1AB430
analogous
#7D1AB4 #B41A9E #B41A51
triadic
#B41A9E #9EB41A #1A9EB4
tetradic
#B41A9E #B47D1A #1AB430 #1A51B4
square
#B41A9E #B47D1A #1AB430 #1A51B4
split-complementary
#B41A9E #51B41A #1AB47D
monochromatic
#490B40 #7F126F #B41A9E #E02BC6 #E860D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B41A9E#FFFFFF#000000##FFFFFF
##B41A9E1.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)
#1A57A1
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#BD2B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41a9e;
/* rgb */ color: rgb(180, 26, 158);
/* oklch */ color: oklch(53.5% 0.223 335.4);
Tailwind
colors: {
  custom: {
    50: '#cf6ebb',
    500: '#b41a9e',
    950: '#000000',
  },
}
SCSS
$custom: #b41a9e;
$custom-light: #cf6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#b41a9e",
  "rgb": {
    "r": 180,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 308.571,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53529,
    "c": 0.22298,
    "h": 335.4
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B41A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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