#B41BA3#B41BA3

#B41BA3 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.9% C 0.226 H 333.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B41BA3
RGBrgb(180, 27, 163)
HSLhsl(307, 74%, 41%)
HSVhsv(307, 85%, 71%)
CMYKcmyk(0%, 85%, 9.4%, 29.4%)
CIE-LABlab(42.96, 69.69, -36.40)
CIE-LCHlch(42.96, 78.62, 332.42°)
OKLaboklab(53.85% 0.2022 -0.1)
OKLCHoklch(53.85% 0.226 333.7)
XYZxyz(25.8254, 13.1339, 35.8182)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41BA3 #1BB42C
analogous
#791BB4 #B41BA3 #B41B56
triadic
#B41BA3 #A3B41B #1BA3B4
tetradic
#B41BA3 #B4791B #1BB42C #1B56B4
square
#B41BA3 #B4791B #1BB42C #1B56B4
split-complementary
#B41BA3 #56B41B #1BB479
monochromatic
#4A0B43 #7F1373 #B41BA3 #DF2DCC #E762D9

Accessibility & contrast

On white

5.79
#B41BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B41BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41BA3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41BA3#FFFFFF#000000##FFFFFF
##B41BA31.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1258A6
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#BD2F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41ba3;
/* rgb */ color: rgb(180, 27, 163);
/* oklch */ color: oklch(53.9% 0.226 333.7);
Tailwind
colors: {
  custom: {
    50: '#cf6ebf',
    500: '#b41ba3',
    950: '#000000',
  },
}
SCSS
$custom: #b41ba3;
$custom-light: #cf6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#b41ba3",
  "rgb": {
    "r": 180,
    "g": 27,
    "b": 163
  },
  "hsl": {
    "h": 306.667,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53851,
    "c": 0.22563,
    "h": 333.7
  },
  "luminance": 0.13132
}

Semantic roles & 50–950 ramp

primary
#B41BA3
secondary
#5FCC6B
accent
#F14C37
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B41BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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