#B41F9F#B41F9F

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

Color values

HEX#B41F9F
RGBrgb(180, 31, 159)
HSLhsl(308, 71%, 41%)
HSVhsv(308, 83%, 71%)
CMYKcmyk(0%, 82.8%, 11.7%, 29.4%)
CIE-LABlab(43.05, 68.27, -33.87)
CIE-LCHlch(43.05, 76.21, 333.61°)
OKLaboklab(53.84% 0.1996 -0.0928)
OKLCHoklch(53.84% 0.22 335.1)
XYZxyz(25.5708, 13.1889, 33.9932)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41F9F #1FB434
analogous
#7F1FB4 #B41F9F #B41F55
triadic
#B41F9F #9FB41F #1F9FB4
tetradic
#B41F9F #B47F1F #1FB434 #1F55B4
square
#B41F9F #B47F1F #1FB434 #1F55B4
split-complementary
#B41F9F #55B41F #1FB47F
monochromatic
#4C0D43 #801671 #B41F9F #DC34C4 #E568D3

Accessibility & contrast

On white

5.77
#B41F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B41F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41F9F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41F9F#FFFFFF#000000##FFFFFF
##B41F9F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#596D9C
Tritanopia (blue-blind)
#BD2F60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b41f9f;
/* rgb */ color: rgb(180, 31, 159);
/* oklch */ color: oklch(53.8% 0.220 335.1);
Tailwind
colors: {
  custom: {
    50: '#cf6fbc',
    500: '#b41f9f',
    950: '#000000',
  },
}
SCSS
$custom: #b41f9f;
$custom-light: #cf6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#b41f9f",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 308.456,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53842,
    "c": 0.22012,
    "h": 335.1
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B41F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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