#B41CA6#B41CA6

#B41CA6 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.227 H 332.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B41CA6
RGBrgb(180, 28, 166)
HSLhsl(306, 73%, 41%)
HSVhsv(306, 84%, 71%)
CMYKcmyk(0%, 84.4%, 7.8%, 29.4%)
CIE-LABlab(43.20, 69.92, -37.83)
CIE-LCHlch(43.20, 79.50, 331.59°)
OKLaboklab(54.07% 0.2017 -0.1042)
OKLCHoklch(54.07% 0.227 332.7)
XYZxyz(26.1207, 13.2893, 37.2584)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41CA6 #1CB42A
analogous
#761CB4 #B41CA6 #B41C5A
triadic
#B41CA6 #A6B41C #1CA6B4
tetradic
#B41CA6 #B4761C #1CB42A #1C5AB4
square
#B41CA6 #B4761C #1CB42A #1C5AB4
split-complementary
#B41CA6 #5AB41C #1CB476
monochromatic
#4A0C44 #7F1475 #B41CA6 #DF2FCE #E764DB

Accessibility & contrast

On white

5.74
#B41CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B41CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41CA6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41CA6#FFFFFF#000000##FFFFFF
##B41CA61.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C59A9
Deuteranopia (green-blind)
#556DA3
Tritanopia (blue-blind)
#BC3263
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b41ca6;
/* rgb */ color: rgb(180, 28, 166);
/* oklch */ color: oklch(54.1% 0.227 332.7);
Tailwind
colors: {
  custom: {
    50: '#cf6fc1',
    500: '#b41ca6',
    950: '#000000',
  },
}
SCSS
$custom: #b41ca6;
$custom-light: #cf6fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b41ca6",
  "rgb": {
    "r": 180,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 305.526,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.22697,
    "h": 332.7
  },
  "luminance": 0.13287
}

Semantic roles & 50–950 ramp

primary
#B41CA6
secondary
#60CC6A
accent
#F04938
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B41CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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