colors
Back to gallery

Valiant Cartagena

#870c6f
Notes

Valiant Cartagena (#870C6F) is a deep magenta with a jewel character. It carries the deep, saturated richness of a gemstone. Authoritative and slightly formal, it works well for type and heavy UI elements. Its HSL profile (312°, 84%, 29%) places it in the highly saturated band at a dark lightness. Best used in small doses, like logos, CTAs, focus rings, or highlight text, where its saturation becomes a feature rather than noise. For a confident two-color system, pair it with its complementary green. For something softer, pull in its analogous neighbors on either side of the wheel.

HEX
#870c6f
RGB
rgb(135, 12, 111)
HSL
hsl(312, 84%, 29%)
HWB
hwb(312 5% 47%)
OKLCH
oklch(42.7% 0.179 338.6)
P3
color(display-p3 0.4844 0.1097 0.4224)
HSV
hsv(312, 91%, 53%)
LAB
lab(30.79% 55.88 -24.02)
LCH
lch(30.79% 60.83 336.74)
CMYK
cmyk(0%, 91%, 18%, 47%)

Etymology

Valiant
adjective

Latin valēns, strong — present-participle of valēre, sharing root with English value and valor. As a color modifier, valiant implies a saturated-and-courageous-and-firm quality, the deep-rich color of Crusader-and-Knight-Templar military-religious-order vestment. Sits at the bold-and-chivalrous end of the grid, parallel to gallant and heroic in usage.

Cartagena
noun

Colombian Caribbean port city — once a Spanish-Habsburg colonial trade entrepôt, whose old-town Ciudad Amurallada district carries the iconic deep-magenta lime-stucco façades of cartagenera colonial architecture. Cartagena color refers to a Cartagena old-town stucco façade in late-afternoon light: a saturated, slightly cool deep magenta with the matte finish of lime-and-iron-oxide-pigmented colonial stucco.

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.

#870c6f
Original
#163d71
Protanopia
#434f6c
Deuteranopia
#8f1640
Tritanopia
#2d2d2d
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
9.08: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.31:1

Wide gamut

Display P3 representation

The CSS Color 4 wide-gamut form of this color. Both swatches render the same color on every display — the P3 form only diverges from sRGB when a designer pushes channels outside sRGB's reach.

sRGB hex
sRGB hex
##870C6F
Display P3
Display P3
color(display-p3 0.4844 0.1097 0.4224)
P3 has subtle headroomOKLCH chroma 0.179

Moderately saturated colors gain a small bump in P3 — the difference is usually visible side-by-side on wide-gamut hardware but won't change the character of the color.

Related Colors

Canvas