#B41F9C#B41F9C

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

Color values

HEX#B41F9C
RGBrgb(180, 31, 156)
HSLhsl(310, 71%, 41%)
HSVhsv(310, 83%, 71%)
CMYKcmyk(0%, 82.8%, 13.3%, 29.4%)
CIE-LABlab(42.89, 67.85, -32.31)
CIE-LCHlch(42.89, 75.15, 334.53°)
OKLaboklab(53.68% 0.1995 -0.0883)
OKLCHoklch(53.68% 0.218 336.1)
XYZxyz(25.3136, 13.0860, 32.6387)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F9C #1FB437
analogous
#821FB4 #B41F9C #B41F52
triadic
#B41F9C #9CB41F #1F9CB4
tetradic
#B41F9C #B4821F #1FB437 #1F52B4
square
#B41F9C #B4821F #1FB437 #1F52B4
split-complementary
#B41F9C #52B41F #1FB482
monochromatic
#4C0D42 #80166F #B41F9C #DC34C1 #E568D1

Accessibility & contrast

On white

5.81
#B41F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B41F9C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F9C#FFFFFF#000000##FFFFFF
##B41F9C1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579F
Deuteranopia (green-blind)
#5B6D99
Tritanopia (blue-blind)
#BE2D5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b41f9c;
/* rgb */ color: rgb(180, 31, 156);
/* oklch */ color: oklch(53.7% 0.218 336.1);
Tailwind
colors: {
  custom: {
    50: '#cf6fb9',
    500: '#b41f9c',
    950: '#000000',
  },
}
SCSS
$custom: #b41f9c;
$custom-light: #cf6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f9c",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 309.664,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.21813,
    "h": 336.1
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#B41F9C
secondary
#64CB75
accent
#ED573A
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B41F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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