#B41FB2#B41FB2

#B41FB2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.9% C 0.233 H 328.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B41FB2
RGBrgb(180, 31, 178)
HSLhsl(301, 71%, 41%)
HSVhsv(301, 83%, 71%)
CMYKcmyk(0%, 82.8%, 1.1%, 29.4%)
CIE-LABlab(44.09, 71.09, -43.53)
CIE-LCHlch(44.09, 83.36, 328.52°)
OKLaboklab(54.92% 0.1995 -0.1207)
OKLCHoklch(54.92% 0.233 328.8)
XYZxyz(27.3480, 13.8998, 43.3534)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41FB2 #1FB421
analogous
#6C1FB4 #B41FB2 #B41F68
triadic
#B41FB2 #B2B41F #1FB2B4
tetradic
#B41FB2 #B46C1F #1FB421 #1F68B4
square
#B41FB2 #B46C1F #1FB421 #1F68B4
split-complementary
#B41FB2 #68B41F #1FB46C
monochromatic
#4C0D4B #80167E #B41FB2 #DC34DA #E568E3

Accessibility & contrast

On white

5.56
#B41FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B41FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41FB2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41FB2#FFFFFF#000000##FFFFFF
##B41FB21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#BA3A6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b41fb2;
/* rgb */ color: rgb(180, 31, 178);
/* oklch */ color: oklch(54.9% 0.233 328.8);
Tailwind
colors: {
  custom: {
    50: '#cf70c9',
    500: '#b41fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b41fb2;
$custom-light: #cf70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b41fb2",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 178
  },
  "hsl": {
    "h": 300.805,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.2332,
    "h": 328.8
  },
  "luminance": 0.13898
}

Semantic roles & 50–950 ramp

primary
#B41FB2
secondary
#64CB66
accent
#ED3D3A
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B41FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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