#B300B3 color
#B300B3 is a dark, vivid magenta, closest to the CSS named color darkviolet (#9400D3).
Color values
| HEX | #B300B3 |
| RGB | rgb(179, 0, 179) |
| HSL | hsl(300, 100%, 35%) |
| CMYK | cmyk(0%, 100%, 0%, 30%) |
| Decimal | 11731123 |
| CSS | color: #B300B3; |
| Android | 0xFFB300B3 |
| Swift | UIColor(red: 0.702, green: 0.000, blue: 0.702, alpha: 1) |
Accessibility and contrast
| White text on #B300B3 | 5.89:1 — AA pass · AA large pass · AAA fail |
| Black text on #B300B3 | 3.57:1 — AA fail · AA large pass · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #B300B3
Each swatch keeps the hue and saturation of #B300B3 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #B300B3
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #B300B3 in code
/* CSS */
.element { color: #B300B3; background-color: #B300B3; }
.element { color: rgb(179 0 179); }
.element { color: hsl(300 100% 35%); }
/* Tailwind arbitrary value */
<div class="bg-[#B300B3] text-white">
/* SCSS variable */
$brand: #B300B3;
Frequently asked questions
What color is #B300B3?
#B300B3 is a dark, vivid magenta. Its hue sits at 300° on the color wheel, with 100% saturation and 35% lightness.
What is #B300B3 in RGB?
#B300B3 converts to rgb(179, 0, 179) — 179 red, 0 green and 179 blue.
What is #B300B3 in CMYK?
Approximately cmyk(0%, 100%, 0%, 30%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #B300B3 be white or black?
White gives the better contrast ratio (5.89:1 versus 3.57:1).
What is the complementary color of #B300B3?
#00B300 — the hue directly opposite #B300B3 on the color wheel.