#B41F9D#B41F9D

#B41F9D is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.219 H 335.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B41F9D
RGBrgb(180, 31, 157)
HSLhsl(309, 71%, 41%)
HSVhsv(309, 83%, 71%)
CMYKcmyk(0%, 82.8%, 12.8%, 29.4%)
CIE-LABlab(42.94, 67.99, -32.83)
CIE-LCHlch(42.94, 75.50, 334.22°)
OKLaboklab(53.74% 0.1995 -0.0898)
OKLCHoklch(53.74% 0.219 335.8)
XYZxyz(25.3986, 13.1200, 33.0865)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F9D #1FB436
analogous
#811FB4 #B41F9D #B41F53
triadic
#B41F9D #9DB41F #1F9DB4
tetradic
#B41F9D #B4811F #1FB436 #1F53B4
square
#B41F9D #B4811F #1FB436 #1F53B4
split-complementary
#B41F9D #53B41F #1FB481
monochromatic
#4C0D42 #80166F #B41F9D #DC34C2 #E568D2

Accessibility & contrast

On white

5.80
#B41F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B41F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F9D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F9D#FFFFFF#000000##FFFFFF
##B41F9D1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A0
Deuteranopia (green-blind)
#5A6D9A
Tritanopia (blue-blind)
#BD2D5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41f9d;
/* rgb */ color: rgb(180, 31, 157);
/* oklch */ color: oklch(53.7% 0.219 335.8);
Tailwind
colors: {
  custom: {
    50: '#cf6fba',
    500: '#b41f9d',
    950: '#000000',
  },
}
SCSS
$custom: #b41f9d;
$custom-light: #cf6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f9d",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 309.262,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.21879,
    "h": 335.8
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#B41F9D
secondary
#64CB74
accent
#ED563A
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B41F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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