#B41AA7#B41AA7

#B41AA7 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.0% C 0.229 H 332.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B41AA7
RGBrgb(180, 26, 167)
HSLhsl(305, 75%, 40%)
HSVhsv(305, 86%, 71%)
CMYKcmyk(0%, 85.6%, 7.2%, 29.4%)
CIE-LABlab(43.11, 70.47, -38.55)
CIE-LCHlch(43.11, 80.32, 331.32°)
OKLaboklab(54.03% 0.2028 -0.1062)
OKLCHoklch(54.03% 0.229 332.4)
XYZxyz(26.1670, 13.2344, 37.7281)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B41AA7 #1AB427
analogous
#741AB4 #B41AA7 #B41A5A
triadic
#B41AA7 #A7B41A #1AA7B4
tetradic
#B41AA7 #B4741A #1AB427 #1A5AB4
square
#B41AA7 #B4741A #1AB427 #1A5AB4
split-complementary
#B41AA7 #5AB41A #1AB474
monochromatic
#490B44 #7F1275 #B41AA7 #E02BD1 #E860DD

Accessibility & contrast

On white

5.76
#B41AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B41AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B41AA7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B41AA7#FFFFFF#000000##FFFFFF
##B41AA71.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0458AA
Deuteranopia (green-blind)
#546DA4
Tritanopia (blue-blind)
#BC3164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b41aa7;
/* rgb */ color: rgb(180, 26, 167);
/* oklch */ color: oklch(54.0% 0.229 332.4);
Tailwind
colors: {
  custom: {
    50: '#cf6ec1',
    500: '#b41aa7',
    950: '#000000',
  },
}
SCSS
$custom: #b41aa7;
$custom-light: #cf6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#b41aa7",
  "rgb": {
    "r": 180,
    "g": 26,
    "b": 167
  },
  "hsl": {
    "h": 305.065,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54028,
    "c": 0.22896,
    "h": 332.4
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#B41AA7
secondary
#5DCC67
accent
#F14636
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B41AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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