#B41FA5#B41FA5

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

Color values

HEX#B41FA5
RGBrgb(180, 31, 165)
HSLhsl(306, 71%, 41%)
HSVhsv(306, 83%, 71%)
CMYKcmyk(0%, 82.8%, 8.3%, 29.4%)
CIE-LABlab(43.36, 69.13, -36.97)
CIE-LCHlch(43.36, 78.39, 331.87°)
OKLaboklab(54.17% 0.1998 -0.1017)
OKLCHoklch(54.17% 0.224 333)
XYZxyz(26.1041, 13.4022, 36.8021)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41FA5 #1FB42E
analogous
#791FB4 #B41FA5 #B41F5B
triadic
#B41FA5 #A5B41F #1FA5B4
tetradic
#B41FA5 #B4791F #1FB42E #1F5BB4
square
#B41FA5 #B4791F #1FB42E #1F5BB4
split-complementary
#B41FA5 #5BB41F #1FB479
monochromatic
#4C0D45 #801675 #B41FA5 #DC34CB #E568D9

Accessibility & contrast

On white

5.71
#B41FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B41FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41FA5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41FA5#FFFFFF#000000##FFFFFF
##B41FA51.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1459A8
Deuteranopia (green-blind)
#566EA2
Tritanopia (blue-blind)
#BC3363
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b41fa5;
/* rgb */ color: rgb(180, 31, 165);
/* oklch */ color: oklch(54.2% 0.224 333.0);
Tailwind
colors: {
  custom: {
    50: '#cf70c0',
    500: '#b41fa5',
    950: '#000000',
  },
}
SCSS
$custom: #b41fa5;
$custom-light: #cf70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b41fa5",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 306.04,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.22416,
    "h": 333
  },
  "luminance": 0.134
}

Semantic roles & 50–950 ramp

primary
#B41FA5
secondary
#64CB6F
accent
#ED4C3A
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B41FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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