#B41BAF#B41BAF

#B41BAF is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.5% C 0.234 H 329.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B41BAF
RGBrgb(180, 27, 175)
HSLhsl(302, 74%, 41%)
HSVhsv(302, 85%, 71%)
CMYKcmyk(0%, 85%, 2.8%, 29.4%)
CIE-LABlab(43.63, 71.46, -42.49)
CIE-LCHlch(43.63, 83.14, 329.26°)
OKLaboklab(54.54% 0.202 -0.1177)
OKLCHoklch(54.54% 0.234 329.8)
XYZxyz(26.9521, 13.5845, 41.7517)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41BAF #1BB420
analogous
#6C1BB4 #B41BAF #B41B62
triadic
#B41BAF #AFB41B #1BAFB4
tetradic
#B41BAF #B46C1B #1BB420 #1B62B4
square
#B41BAF #B46C1B #1BB420 #1B62B4
split-complementary
#B41BAF #62B41B #1BB46C
monochromatic
#4A0B48 #7F137B #B41BAF #DF2DDA #E762E3

Accessibility & contrast

On white

5.65
#B41BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B41BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41BAF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41BAF#FFFFFF#000000##FFFFFF
##B41BAF1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#BB3769
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b41baf;
/* rgb */ color: rgb(180, 27, 175);
/* oklch */ color: oklch(54.5% 0.234 329.8);
Tailwind
colors: {
  custom: {
    50: '#cf6fc7',
    500: '#b41baf',
    950: '#000000',
  },
}
SCSS
$custom: #b41baf;
$custom-light: #cf6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b41baf",
  "rgb": {
    "r": 180,
    "g": 27,
    "b": 175
  },
  "hsl": {
    "h": 301.961,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.2338,
    "h": 329.8
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#B41BAF
secondary
#5FCC62
accent
#F13D37
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B41BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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