#B41CA8#B41CA8

#B41CA8 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.228 H 332.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B41CA8
RGBrgb(180, 28, 168)
HSLhsl(305, 73%, 41%)
HSVhsv(305, 84%, 71%)
CMYKcmyk(0%, 84.4%, 6.7%, 29.4%)
CIE-LABlab(43.31, 70.21, -38.85)
CIE-LCHlch(43.31, 80.24, 331.05°)
OKLaboklab(54.18% 0.2016 -0.1071)
OKLCHoklch(54.18% 0.228 332)
XYZxyz(26.3056, 13.3633, 38.2321)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41CA8 #1CB428
analogous
#741CB4 #B41CA8 #B41C5C
triadic
#B41CA8 #A8B41C #1CA8B4
tetradic
#B41CA8 #B4741C #1CB428 #1C5CB4
square
#B41CA8 #B4741C #1CB428 #1C5CB4
split-complementary
#B41CA8 #5CB41C #1CB474
monochromatic
#4A0C45 #7F1477 #B41CA8 #DF2FD1 #E764DC

Accessibility & contrast

On white

5.72
#B41CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B41CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41CA8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41CA8#FFFFFF#000000##FFFFFF
##B41CA81.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0559AB
Deuteranopia (green-blind)
#546DA5
Tritanopia (blue-blind)
#BC3365
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b41ca8;
/* rgb */ color: rgb(180, 28, 168);
/* oklch */ color: oklch(54.2% 0.228 332.0);
Tailwind
colors: {
  custom: {
    50: '#cf6fc2',
    500: '#b41ca8',
    950: '#000000',
  },
}
SCSS
$custom: #b41ca8;
$custom-light: #cf6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b41ca8",
  "rgb": {
    "r": 180,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 304.737,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54182,
    "c": 0.22832,
    "h": 332
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#B41CA8
secondary
#60CC69
accent
#F04738
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B41CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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