Nerdulator> put something in

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

Protanopia#001A3Bno red cones; affects about 1% of men; ΔE 29.9 from the original
Deuteranopia#192339no green cones; the most common form, about 1% of men; ΔE 31.7 from the original
Tritanopia#43091Fno blue cones; rare, and affects men and women equally; ΔE 21.2 from the original
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

Nearest named CSS colourDark slateblue (#483D8B)ΔE 31.21, a distinctly different colour
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

Lighter +40%#F816E2
Lighter +30%#D407C0
Lighter +20%#A30594
Lighter +10%#710467
Darker −10%#0F000D
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#42003C
Less saturated −25%#380A33

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “40023a” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.