Skip to main content
ToolsHub
#512D9F

#512D9F Color — #512D9F

Complete color reference for #512D9F: conversions to RGB, HSL, HSV, CMYK, color harmonies, shades & tints scale, and WCAG accessibility contrast ratios.

Color Format Conversions

HEX#512D9F
RGBrgb(81, 45, 159)
HSLhsl(259, 56%, 40%)
HSVhsv(259, 72%, 62%)
CMYKC:49% M:72% Y:0% K:38%
CSS Color#512D9F
Decimal5320095
Luminance0.0613

WCAG Accessibility Contrast

#512D9F on White
Ratio: 9.43:1 — AAA
#512D9F on Black
Ratio: 2.23:1 — Fail
White on #512D9F
Ratio: 9.43:1 — AAA
Black on #512D9F
Ratio: 2.23:1 — Fail

WCAG AA requires ≥4.5:1 (normal text) or ≥3:1 (large text). WCAG AAA requires ≥7:1.

Shades & Tints Scale

50#F6F5FA
100#E5E0F1
200#CBC0E2
300#B1A1D4
400#8E77C1
500#512D9F
600#41247F
700#311B5F
800#201240
900#140B28

Steps 50–400 are tints (mixed with white); 500 is the base color; 600–900 are shades (mixed with black).

Color Harmonies

Related Color Tools

Frequently Asked Questions

What is the RGB equivalent of #512D9F?

The RGB equivalent is rgb(81, 45, 159). The red channel is 81, green is 45, and blue is 159 (scale 0–255).

What is the HSL value of #512D9F?

The HSL value is hsl(259, 56%, 40%). Hue is 259°, saturation is 56%, and lightness is 40%.

Does #512D9F meet WCAG accessibility standards?

On a white background, #512D9F achieves a 9.43:1 contrast ratio (AAA). On a black background it achieves 2.23:1 (Fail). WCAG AA requires ≥4.5:1 for normal text.

What is the complementary color of #512D9F?

The complementary color (180° opposite on the hue wheel) of #512D9F is #7B9F2D.