#B41DB2#B41DB2

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

Color values

HEX#B41DB2
RGBrgb(180, 29, 178)
HSLhsl(301, 72%, 41%)
HSVhsv(301, 84%, 71%)
CMYKcmyk(0%, 83.9%, 1.1%, 29.4%)
CIE-LABlab(43.94, 71.51, -43.77)
CIE-LCHlch(43.94, 83.84, 328.53°)
OKLaboklab(54.82% 0.2007 -0.1214)
OKLCHoklch(54.82% 0.235 328.8)
XYZxyz(27.2974, 13.7985, 43.3365)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41DB2 #1DB41F
analogous
#6A1DB4 #B41DB2 #B41D66
triadic
#B41DB2 #B2B41D #1DB2B4
tetradic
#B41DB2 #B46A1D #1DB41F #1D66B4
square
#B41DB2 #B46A1D #1DB41F #1D66B4
split-complementary
#B41DB2 #66B41D #1DB46A
monochromatic
#4B0C4A #7F157E #B41DB2 #DE30DB #E665E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B41DB2#FFFFFF#000000##FFFFFF
##B41DB21.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)
#005CB6
Deuteranopia (green-blind)
#4E6EAF
Tritanopia (blue-blind)
#BA396B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b41db2;
/* rgb */ color: rgb(180, 29, 178);
/* oklch */ color: oklch(54.8% 0.235 328.8);
Tailwind
colors: {
  custom: {
    50: '#cf70c9',
    500: '#b41db2',
    950: '#000000',
  },
}
SCSS
$custom: #b41db2;
$custom-light: #cf70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b41db2",
  "rgb": {
    "r": 180,
    "g": 29,
    "b": 178
  },
  "hsl": {
    "h": 300.795,
    "s": 72.249,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54816,
    "c": 0.23458,
    "h": 328.8
  },
  "luminance": 0.13796
}

Semantic roles & 50–950 ramp

primary
#B41DB2
secondary
#61CB63
accent
#EF3B39
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B41DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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