#B41AB2#B41AB2

#B41AB2 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.7% C 0.237 H 328.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B41AB2
RGBrgb(180, 26, 178)
HSLhsl(301, 75%, 40%)
HSVhsv(301, 86%, 71%)
CMYKcmyk(0%, 85.6%, 1.1%, 29.4%)
CIE-LABlab(43.74, 72.11, -44.09)
CIE-LCHlch(43.74, 84.52, 328.56°)
OKLaboklab(54.67% 0.2024 -0.1223)
OKLCHoklch(54.67% 0.237 328.9)
XYZxyz(27.2274, 13.6586, 43.3132)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41AB2 #1AB41C
analogous
#691AB4 #B41AB2 #B41A65
triadic
#B41AB2 #B2B41A #1AB2B4
tetradic
#B41AB2 #B4691A #1AB41C #1A65B4
square
#B41AB2 #B4691A #1AB41C #1A65B4
split-complementary
#B41AB2 #65B41A #1AB469
monochromatic
#490B48 #7F127D #B41AB2 #E02BDE #E860E6

Accessibility & contrast

On white

5.63
#B41AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B41AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41AB2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41AB2#FFFFFF#000000##FFFFFF
##B41AB21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#BA386A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b41ab2;
/* rgb */ color: rgb(180, 26, 178);
/* oklch */ color: oklch(54.7% 0.237 328.9);
Tailwind
colors: {
  custom: {
    50: '#cf6fc9',
    500: '#b41ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b41ab2;
$custom-light: #cf6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b41ab2",
  "rgb": {
    "r": 180,
    "g": 26,
    "b": 178
  },
  "hsl": {
    "h": 300.779,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.23651,
    "h": 328.9
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#B41AB2
secondary
#5DCC5F
accent
#F13936
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B41AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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