#B41A9C#B41A9C

#B41A9C is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.222 H 336.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B41A9C
RGBrgb(180, 26, 156)
HSLhsl(309, 75%, 40%)
HSVhsv(309, 86%, 71%)
CMYKcmyk(0%, 85.6%, 13.3%, 29.4%)
CIE-LABlab(42.53, 68.90, -32.88)
CIE-LCHlch(42.53, 76.35, 334.49°)
OKLaboklab(53.42% 0.2026 -0.0899)
OKLCHoklch(53.42% 0.222 336.1)
XYZxyz(25.1930, 12.8448, 32.5985)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41A9C #1AB432
analogous
#7F1AB4 #B41A9C #B41A4F
triadic
#B41A9C #9CB41A #1A9CB4
tetradic
#B41A9C #B47F1A #1AB432 #1A4FB4
square
#B41A9C #B47F1A #1AB432 #1A4FB4
split-complementary
#B41A9C #4FB41A #1AB47F
monochromatic
#490B3F #7F126E #B41A9C #E02BC4 #E860D3

Accessibility & contrast

On white

5.88
#B41A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B41A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41A9C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41A9C#FFFFFF#000000##FFFFFF
##B41A9C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D569F
Deuteranopia (green-blind)
#596C99
Tritanopia (blue-blind)
#BE2A5D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b41a9c;
/* rgb */ color: rgb(180, 26, 156);
/* oklch */ color: oklch(53.4% 0.222 336.1);
Tailwind
colors: {
  custom: {
    50: '#cf6eb9',
    500: '#b41a9c',
    950: '#000000',
  },
}
SCSS
$custom: #b41a9c;
$custom-light: #cf6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#b41a9c",
  "rgb": {
    "r": 180,
    "g": 26,
    "b": 156
  },
  "hsl": {
    "h": 309.351,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.22167,
    "h": 336.1
  },
  "luminance": 0.12842
}

Semantic roles & 50–950 ramp

primary
#B41A9C
secondary
#5DCC6F
accent
#F15436
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B41A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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