Cobalt
#5F0066 · Cobalt
#5F0066 is Cobalt, a balanced magenta color. It has an RGB value of 95, 0, 102 and a relative luminance of 0.034, making it a dark surface.
Temperature
◐ Balanced
Hue family
magenta
Luminance
0.03
Conversions
HEX
RGB
HSL
HSV
CMYK
OKLCHPro
Contrast & accessibility
On white
The quick fox
12.51:1
AA normal✓
AA large✓
AAA normal✓
On black
The quick fox
1.68:1
AA normal✕
AA large✕
AAA normal✕
Color harmonies
Complementary
Split-complementary
Shades & tints
Similar named colors
Frequently asked
What is the color #5F0066?
#5F0066 is Cobalt, a balanced magenta color. In RGB it is 95, 0, 102, and in HSL it is 296°, 100%, 20%.
Is #5F0066 a light or dark color?
#5F0066 has a relative luminance of 0.034, so it reads as a dark surface. Use light text on top of it for the best contrast.
What colors go well with #5F0066?
Its complementary color is #076600. For softer combinations, try the analogous or split-complementary harmonies shown above.