colors
Back to gallery

Knightly Caftan

#af307e
Notes

Knightly Caftan (#AF307E) is a true magenta with a cool character. It leans cool, sitting on the blue, green, and violet side of the wheel. Quiet and dependable, a fit for product UI and data visualization. Its HSL profile (323°, 57%, 44%) 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 green. For something softer, pull in its analogous neighbors on either side of the wheel.

HEX
#af307e
RGB
rgb(175, 48, 126)
HSL
hsl(323, 57%, 44%)
HWB
hwb(323 19% 31%)
OKLCH
oklch(52.7% 0.180 347.3)
P3
color(display-p3 0.6325 0.2288 0.4839)
HSV
hsv(323, 73%, 69%)
LAB
lab(42.36% 57.75 -14.94)
LCH
lch(42.36% 59.65 345.49)
CMYK
cmyk(0%, 73%, 28%, 31%)

Etymology

Knightly
adjective

Old English cniht, young man / knight — adjectival suffix -ly. As a color modifier, knightly implies a saturated-and-chivalrous-and-medieval quality, the deep-rich color of medieval-English-and-French knight-and-squire armorial-bearings-and-livery tradition. Sits at the bold-and-chivalrous end of the grid, parallel to gallant and cavalier.

Caftan
noun

Persian قفطان, kaftan — a long, loose-fitting Middle-Eastern and North-African robe of layered silk-and-velvet, often dyed in deep-magenta fuchsine or natural kermes for ceremonial occasions. Caftan color refers to an Ottoman-period 19th-century caftan in the Topkapi Palace harem-wing collection: a saturated, slightly cool deep magenta with the velvet finish of multi-bath natural-and-synthetic dye on jacquard-figured silk.

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.

#af307e
Original
#415680
Protanopia
#676c7b
Deuteranopia
#bb2c53
Tritanopia
#515151
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).
AAon White
5.92: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).
AA Largeon Black
3.55: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
##AF307E
Display P3
Display P3
color(display-p3 0.6325 0.2288 0.4839)
P3 has subtle headroomOKLCH chroma 0.180

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