Toolman

#5900B3 color

#5900B3#5900B3

#5900B3 is a dark, vivid violet, closest to the CSS named color indigo (#4B0082).

Color values

HEX#5900B3
RGBrgb(89, 0, 179)
HSLhsl(270, 100%, 35%)
CMYKcmyk(50%, 100%, 0%, 30%)
Decimal5832883
CSScolor: #5900B3;
Android0xFF5900B3
SwiftUIColor(red: 0.349, green: 0.000, blue: 0.702, alpha: 1)

Accessibility and contrast

White text on #5900B310.12:1 — AA pass · AA large pass · AAA pass
Black text on #5900B32.08:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

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 #5900B3

Each swatch keeps the hue and saturation of #5900B3 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #5900B3

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #5900B3 in code

/* CSS */
.element { color: #5900B3; background-color: #5900B3; }
.element { color: rgb(89 0 179); }
.element { color: hsl(270 100% 35%); }

/* Tailwind arbitrary value */
<div class="bg-[#5900B3] text-white">

/* SCSS variable */
$brand: #5900B3;

Frequently asked questions

What color is #5900B3?

#5900B3 is a dark, vivid violet. Its hue sits at 270° on the color wheel, with 100% saturation and 35% lightness.

What is #5900B3 in RGB?

#5900B3 converts to rgb(89, 0, 179) — 89 red, 0 green and 179 blue.

What is #5900B3 in CMYK?

Approximately cmyk(50%, 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 #5900B3 be white or black?

White gives the better contrast ratio (10.12:1 versus 2.08:1).

What is the complementary color of #5900B3?

#59B300 — the hue directly opposite #5900B3 on the color wheel.

Convert any color → · Browse all colors