colors
Back to gallery

Heroic Twilight

#5a42ab
Notes

Heroic Twilight (#5A42AB) is a true indigo with an earthy character. It leans grounded and natural, the kind of color that plays well with wood, clay, linen, and warm neutrals. Its HSL profile (254°, 44%, 46%) places it in the balanced band at a mid lightness. It works across type, buttons, and borders, saturated enough to feel deliberate but balanced enough to not fight the rest of the palette. For a confident two-color system, pair it with its complementary yellow. For something softer, pull in its analogous neighbors on either side of the wheel.

HEX
#5a42ab
RGB
rgb(90, 66, 171)
HSL
hsl(254, 44%, 46%)
HWB
hwb(254 26% 33%)
OKLCH
oklch(46.4% 0.160 289.1)
HSV
hsv(254, 61%, 67%)
LAB
lab(36.00% 36.81 -53.04)
LCH
lch(36.00% 64.56 304.76)
CMYK
cmyk(47%, 61%, 0%, 33%)

Etymology

Heroic
adjective

Latin hēroicus, of a hero — derived from Greek hērōs. As a color modifier, heroic implies a saturated-and-monumental-and-victorious quality, the deep-rich color of Wagner-and-Sibelius late-Romantic-era musical-and-painterly heroic-mode. Sits at the bold-and-celebratory end of the grid, parallel to triumphant and valiant.

Twilight
noun

The transitional sky color in the half-hour after sunset — when direct sunlight has gone but the upper atmosphere still scatters reds, oranges, and finally deep blues. The color refers to the western sky at nautical twilight on a clear evening: a deep, slightly violet-shifted dark blue with the optical depth of a sky still receiving scattered light from below the horizon. Deeper than dawn, warmer than midnight.

Closest matches

The nearest named color in three reference sources, ranked by perceptual distance (ΔE76 in CIELAB). ΔE < 1 is imperceptible to most viewers; ΔE > 10 is clearly different. When two sources point to the same hex they’re merged into one tile; click any to open that color’s page.

Variations

Click any swatch to explore

Harmonies

Accessibility

Color-vision simulation

How this color appears to viewers with the four major color-vision-deficiency types. Computed via the Machado (2009) physiologically-based model. If a tile matches the original, the color reads the same to that viewer.

#5a42ab
Original
#0057ae
Protanopia
#0052a9
Deuteranopia
#405a70
Tritanopia
#4f4f4f
Achromatopsia
WCAG contrast

The color used as foreground text against pure white and pure black, with the contrast ratio and WCAG 2.1 grade. Aim for AA (4.5:1) for body text and AA Large (3:1) for 18 pt+ headlines; AAA (7:1) is the gold standard for long-form reading surfaces.

The quick brown foxSample body text at normal size. The wcag minimum for body contrast is 4.5:1 (AA) or 7:1 (AAA).
AAAon White
7.49:1
The quick brown foxSample body text at normal size. The wcag minimum for body contrast is 4.5:1 (AA) or 7:1 (AAA).
Failon Black
2.80:1

Related Colors

Canvas