#B41FA1#B41FA1

#B41FA1 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.221 H 334.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B41FA1
RGBrgb(180, 31, 161)
HSLhsl(308, 71%, 41%)
HSVhsv(308, 83%, 71%)
CMYKcmyk(0%, 82.8%, 10.6%, 29.4%)
CIE-LABlab(43.15, 68.55, -34.91)
CIE-LCHlch(43.15, 76.93, 333.01°)
OKLaboklab(53.95% 0.1997 -0.0957)
OKLCHoklch(53.95% 0.221 334.4)
XYZxyz(25.7457, 13.2589, 34.9146)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41FA1 #1FB432
analogous
#7D1FB4 #B41FA1 #B41F57
triadic
#B41FA1 #A1B41F #1FA1B4
tetradic
#B41FA1 #B47D1F #1FB432 #1F57B4
square
#B41FA1 #B47D1F #1FB432 #1F57B4
split-complementary
#B41FA1 #57B41F #1FB47D
monochromatic
#4C0D44 #801672 #B41FA1 #DC34C7 #E568D5

Accessibility & contrast

On white

5.75
#B41FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B41FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41FA1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41FA1#FFFFFF#000000##FFFFFF
##B41FA11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#586D9E
Tritanopia (blue-blind)
#BD3061
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b41fa1;
/* rgb */ color: rgb(180, 31, 161);
/* oklch */ color: oklch(53.9% 0.221 334.4);
Tailwind
colors: {
  custom: {
    50: '#cf6fbd',
    500: '#b41fa1',
    950: '#000000',
  },
}
SCSS
$custom: #b41fa1;
$custom-light: #cf6fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b41fa1",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 307.651,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5395,
    "c": 0.22145,
    "h": 334.4
  },
  "luminance": 0.13256
}

Semantic roles & 50–950 ramp

primary
#B41FA1
secondary
#64CB71
accent
#ED513A
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B41FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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