Toolman

#38169C color

#38169C#38169C

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

Color values

HEX#38169C
RGBrgb(56, 22, 156)
HSLhsl(255, 75%, 35%)
CMYKcmyk(64%, 86%, 0%, 39%)
Decimal3675804
CSScolor: #38169C;
Android0xFF38169C
SwiftUIColor(red: 0.220, green: 0.086, blue: 0.612, alpha: 1)

Accessibility and contrast

White text on #38169C11.91:1 — AA pass · AA large pass · AAA pass
Black text on #38169C1.76: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 #38169C

Each swatch keeps the hue and saturation of #38169C 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 #38169C

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 #38169C in code

/* CSS */
.element { color: #38169C; background-color: #38169C; }
.element { color: rgb(56 22 156); }
.element { color: hsl(255 75% 35%); }

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

/* SCSS variable */
$brand: #38169C;

Frequently asked questions

What color is #38169C?

#38169C is a dark, vivid violet. Its hue sits at 255° on the color wheel, with 75% saturation and 35% lightness.

What is #38169C in RGB?

#38169C converts to rgb(56, 22, 156) — 56 red, 22 green and 156 blue.

What is #38169C in CMYK?

Approximately cmyk(64%, 86%, 0%, 39%). 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 #38169C be white or black?

White gives the better contrast ratio (11.91:1 versus 1.76:1).

What is the complementary color of #38169C?

#7B9C16 — the hue directly opposite #38169C on the color wheel.

Convert any color → · Browse all colors