#31165F Hex Code
Blue magenta Color Codes
#31165F
Click to copy
Color Information
Name:Blue magenta
Luminance:0.021
Web Safe:No
Background Preview
Sample Text
#31165F as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#31165F
Hexadecimal color code
RGB
rgb(49, 22, 95)
Red, Green, Blue values (0-255)
HSL
hsl(262, 62%, 23%)
Hue, Saturation, Lightness
HSV
hsv(262, 77%, 37%)
Hue, Saturation, Value
CMYK
cmyk(48%, 77%, 0%, 63%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(15.76, 31.3, -38.47)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White BackgroundAAA
Aa
Ratio: 14.89:1100/100
Black Backgroundfail
Aa
Ratio: 1.41:124/100
Gray Backgroundfail
Aa
Ratio: 3.77:150/100
WCAG Guidelines
AAAContrast ratio of 7:1 or higher (Enhanced)
AAContrast ratio of 4.5:1 or higher (Standard)
FAILContrast ratio below 4.5:1 (Not recommended)
Color Harmonies