#B41FAF#B41FAF

#B41FAF is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.231 H 329.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B41FAF
RGBrgb(180, 31, 175)
HSLhsl(302, 71%, 41%)
HSVhsv(302, 83%, 71%)
CMYKcmyk(0%, 82.8%, 2.8%, 29.4%)
CIE-LABlab(43.92, 70.63, -42.03)
CIE-LCHlch(43.92, 82.19, 329.24°)
OKLaboklab(54.74% 0.1996 -0.1164)
OKLCHoklch(54.74% 0.231 329.8)
XYZxyz(27.0501, 13.7806, 41.7844)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41FAF #1FB424
analogous
#6F1FB4 #B41FAF #B41F65
triadic
#B41FAF #AFB41F #1FAFB4
tetradic
#B41FAF #B46F1F #1FB424 #1F65B4
square
#B41FAF #B46F1F #1FB424 #1F65B4
split-complementary
#B41FAF #65B41F #1FB46F
monochromatic
#4C0D49 #80167C #B41FAF #DC34D6 #E568E1

Accessibility & contrast

On white

5.59
#B41FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B41FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41FAF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41FAF#FFFFFF#000000##FFFFFF
##B41FAF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#516EAC
Tritanopia (blue-blind)
#BB3969
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b41faf;
/* rgb */ color: rgb(180, 31, 175);
/* oklch */ color: oklch(54.7% 0.231 329.8);
Tailwind
colors: {
  custom: {
    50: '#cf70c7',
    500: '#b41faf',
    950: '#000000',
  },
}
SCSS
$custom: #b41faf;
$custom-light: #cf70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b41faf",
  "rgb": {
    "r": 180,
    "g": 31,
    "b": 175
  },
  "hsl": {
    "h": 302.013,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54742,
    "c": 0.23109,
    "h": 329.8
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#B41FAF
secondary
#64CB68
accent
#ED403A
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B41FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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