Recognised as Colour
#5F2158
- #5F2158
- Magenta
- Dark
- Nearest: Dark slateblue
#5F2158 is a magenta with RGB values 95, 33, 88 and HSL 307°, 48%, 25%. It is a dark colour, so white text on it reaches 11.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#5F2158#5F2158
HEX#5F2158
RGBrgb(95, 33, 88)
RGB (0–1)0.3725, 0.1294, 0.3451
RGB percentages37.3%, 12.9%, 34.5%
HSLhsl(306.8, 48.4%, 25.1%)
HSV / HSBhsv(306.8, 65.3%, 37.3%)
CMYK0%, 65.3%, 7.4%, 62.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,234,456
CSS custom property--colour: #5F2158;
Brightness & contrast
Relative luminance0.04225WCAG 2.x, 0 is black and 1 is white
Perceived brightness65 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.38:1
Contrast with white11.38:1WCAG normal text: AAA
Contrast with black1.85:1WCAG normal text: Fail
Greyscale equivalent#323232
Inverted#A0DEA7
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.38:1WCAG large text: AAA
Contrast with black, large text1.85:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#215F28
Analogous#47215F, #5F2139
Triadic#585F21, #21585F
Split complementary#395F21, #215F47
Tetradic#5F4721, #215F28, #21395F
Tints, shades & saturation
Channel breakdown
R95
G33
B88
Red95 (37.3%)
Green33 (12.9%)
Blue88 (34.5%)
Hue306.77°
Saturation (HSL)48.44%
Lightness25.1%
Dominant channelRed
Hex per channelR 5F · G 21 · B 58
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page