Recognised as Colour
#40023A
- #40023A
- Magenta
- Dark
- Nearest: Dark slateblue
#40023A is a magenta with RGB values 64, 2, 58 and HSL 306°, 94%, 13%. It is a dark colour, so white text on it reaches 16.3:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#40023A#40023A
HEX#40023A
RGBrgb(64, 2, 58)
RGB (0–1)0.251, 0.0078, 0.2275
RGB percentages25.1%, 0.8%, 22.7%
HSLhsl(305.8, 93.9%, 12.9%)
HSV / HSBhsv(305.8, 96.9%, 25.1%)
CMYK0%, 96.9%, 9.4%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,194,874
CSS custom property--colour: #40023A;
Brightness & contrast
Relative luminance0.01439WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.31:1
Contrast with white16.31:1WCAG normal text: AAA
Contrast with black1.29:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#BFFDC5
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.31:1WCAG large text: AAA
Contrast with black, large text1.29:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#024008
Analogous#270240, #40021B
Triadic#3A4002, #023A40
Split complementary#1B4002, #024027
Tetradic#402702, #024008, #021B40
Tints, shades & saturation
Channel breakdown
R64
G2
B58
Red64 (25.1%)
Green2 (0.8%)
Blue58 (22.7%)
Hue305.81°
Saturation (HSL)93.94%
Lightness12.94%
Dominant channelRed
Hex per channelR 40 · G 02 · B 3A
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