Cobalt
#540887 · Cobalt
#540887 is Cobalt, a balanced violet color. It has an RGB value of 84, 8, 135 and a relative luminance of 0.038, making it a dark surface.
Temperature
◐ Balanced
Hue family
violet
Luminance
0.04
Conversions
HEX
RGB
HSL
HSV
CMYK
OKLCHPro
Contrast & accessibility
On white
The quick fox
11.92:1
AA normal✓
AA large✓
AAA normal✓
On black
The quick fox
1.76:1
AA normal✕
AA large✕
AAA normal✕
Color harmonies
Complementary
Split-complementary
Shades & tints
Similar named colors
Frequently asked
What is the color #540887?
#540887 is Cobalt, a balanced violet color. In RGB it is 84, 8, 135, and in HSL it is 276°, 89%, 28%.
Is #540887 a light or dark color?
#540887 has a relative luminance of 0.038, so it reads as a dark surface. Use light text on top of it for the best contrast.
What colors go well with #540887?
Its complementary color is #3B8708. For softer combinations, try the analogous or split-complementary harmonies shown above.