Cobalt
#31147B · Cobalt
#31147B is Cobalt, a cool violet color. It has an RGB value of 49, 20, 123 and a relative luminance of 0.026, making it a dark surface.
Temperature
❄ Cool
Hue family
violet
Luminance
0.03
Conversions
HEX
RGB
HSL
HSV
CMYK
OKLCHPro
Contrast & accessibility
On white
The quick fox
13.85:1
AA normal✓
AA large✓
AAA normal✓
On black
The quick fox
1.52:1
AA normal✕
AA large✕
AAA normal✕
Color harmonies
Complementary
Split-complementary
Shades & tints
Similar named colors
Frequently asked
What is the color #31147B?
#31147B is Cobalt, a cool violet color. In RGB it is 49, 20, 123, and in HSL it is 257°, 72%, 28%.
Is #31147B a light or dark color?
#31147B has a relative luminance of 0.026, so it reads as a dark surface. Use light text on top of it for the best contrast.
What colors go well with #31147B?
Its complementary color is #5E7B14. For softer combinations, try the analogous or split-complementary harmonies shown above.