#B41F9E#B41F9E

#B41F9E is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.219 H 335.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B41F9E
RGBrgb(180, 31, 158)
HSLhsl(309, 71%, 41%)
HSVhsv(309, 83%, 71%)
CMYKcmyk(0%, 82.8%, 12.2%, 29.4%)
CIE-LABlab(42.99, 68.13, -33.35)
CIE-LCHlch(42.99, 75.85, 333.91°)
OKLaboklab(53.79% 0.1996 -0.0913)
OKLCHoklch(53.79% 0.219 335.4)
XYZxyz(25.4843, 13.1543, 33.5380)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F9E #1FB435
analogous
#801FB4 #B41F9E #B41F54
triadic
#B41F9E #9EB41F #1F9EB4
tetradic
#B41F9E #B4801F #1FB435 #1F54B4
square
#B41F9E #B4801F #1FB435 #1F54B4
split-complementary
#B41F9E #54B41F #1FB480
monochromatic
#4C0D42 #801670 #B41F9E #DC34C3 #E568D3

Accessibility & contrast

On white

5.78
#B41F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B41F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F9E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F9E#FFFFFF#000000##FFFFFF
##B41F9E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A1
Deuteranopia (green-blind)
#5A6D9B
Tritanopia (blue-blind)
#BD2E5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b41f9e;
/* rgb */ color: rgb(180, 31, 158);
/* oklch */ color: oklch(53.8% 0.219 335.4);
Tailwind
colors: {
  custom: {
    50: '#cf6fbb',
    500: '#b41f9e',
    950: '#000000',
  },
}
SCSS
$custom: #b41f9e;
$custom-light: #cf6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f9e",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 308.859,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.21945,
    "h": 335.4
  },
  "luminance": 0.13152
}

Semantic roles & 50–950 ramp

primary
#B41F9E
secondary
#64CB73
accent
#ED553A
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B41F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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