Recognised as Colour
#40233E
- #40233E
- Magenta
- Dark
- Nearest: Black
#40233E is a magenta with RGB values 64, 35, 62 and HSL 304°, 29%, 19%. It is a dark colour, so white text on it reaches 13.7:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#40233E#40233E
HEX#40233E
RGBrgb(64, 35, 62)
RGB (0–1)0.251, 0.1373, 0.2431
RGB percentages25.1%, 13.7%, 24.3%
HSLhsl(304.1, 29.3%, 19.4%)
HSV / HSBhsv(304.1, 45.3%, 25.1%)
CMYK0%, 45.3%, 3.1%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,203,326
CSS custom property--colour: #40233E;
Brightness & contrast
Relative luminance0.0264WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.74:1
Contrast with white13.74:1WCAG normal text: AAA
Contrast with black1.53:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#BFDCC1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.74:1WCAG large text: AAA
Contrast with black, large text1.53:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#234025
Analogous#342340, #40232F
Triadic#3E4023, #233E40
Split complementary#2F4023, #234034
Tetradic#403423, #234025, #232F40
Tints, shades & saturation
Channel breakdown
R64
G35
B62
Red64 (25.1%)
Green35 (13.7%)
Blue62 (24.3%)
Hue304.14°
Saturation (HSL)29.29%
Lightness19.41%
Dominant channelRed
Hex per channelR 40 · G 23 · B 3E
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