#B41A9E#B41A9E
#B41A9E is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.223 H 335.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B41A9E |
|---|---|
| RGB | rgb(180, 26, 158) |
| HSL | hsl(309, 75%, 40%) |
| HSV | hsv(309, 86%, 71%) |
| CMYK | cmyk(0%, 85.6%, 12.2%, 29.4%) |
| CIE-LAB | lab(42.63, 69.18, -33.93) |
| CIE-LCH | lch(42.63, 77.05, 333.88°) |
| OKLab | oklab(53.53% 0.2027 -0.0929) |
| OKLCH | oklch(53.53% 0.223 335.4) |
| XYZ | xyz(25.3638, 12.9131, 33.4978) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 4.89
Ugly Purple
#A442A0
ΔE00 4.97
Barney
#AC1DB8
ΔE00 5.16
Warm Purple
#952E8F
ΔE00 5.49
Medium Purple
#9E43A2
ΔE00 5.69
Mediumvioletred
#C71585
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B41A9E #1AB430
analogous
#7D1AB4 #B41A9E #B41A51
triadic
#B41A9E #9EB41A #1A9EB4
tetradic
#B41A9E #B47D1A #1AB430 #1A51B4
square
#B41A9E #B47D1A #1AB430 #1A51B4
split-complementary
#B41A9E #51B41A #1AB47D
monochromatic
#490B40 #7F126F #B41A9E #E02BC6 #E860D5
Accessibility & contrast
On white
5.86
#B41A9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#B41A9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B41A9E
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B41A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B41A9E | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A57A1
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#BD2B5F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b41a9e; /* rgb */ color: rgb(180, 26, 158); /* oklch */ color: oklch(53.5% 0.223 335.4);
Tailwind
colors: {
custom: {
50: '#cf6ebb',
500: '#b41a9e',
950: '#000000',
},
}SCSS
$custom: #b41a9e; $custom-light: #cf6ebb; $custom-dark: #000000;
JSON
{
"hex": "#b41a9e",
"rgb": {
"r": 180,
"g": 26,
"b": 158
},
"hsl": {
"h": 308.571,
"s": 74.757,
"l": 40.392
},
"oklch": {
"l": 0.53529,
"c": 0.22298,
"h": 335.4
},
"luminance": 0.12911
}Semantic roles & 50–950 ramp
primary
#B41A9E
secondary
#5DCC6D
accent
#F15136
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81