Recognised as Colour
#40205A
- #40205A
- Violet
- Dark
- Nearest: Dark slateblue
#40205A is a violet with RGB values 64, 32, 90 and HSL 273°, 48%, 24%. It is a dark colour, so white text on it reaches 13.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#40205A#40205A
HEX#40205A
RGBrgb(64, 32, 90)
RGB (0–1)0.251, 0.1255, 0.3529
RGB percentages25.1%, 12.5%, 35.3%
HSLhsl(273.1, 47.5%, 23.9%)
HSV / HSBhsv(273.1, 64.4%, 35.3%)
CMYK28.9%, 64.4%, 0%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,586
CSS custom property--colour: #40205A;
Brightness & contrast
Relative luminance0.02861WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.36:1
Contrast with white13.36:1WCAG normal text: AAA
Contrast with black1.57:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#BFDFA5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.36:1WCAG large text: AAA
Contrast with black, large text1.57:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#3A5A20
Analogous#23205A, #5A2057
Triadic#5A4020, #205A40
Split complementary#575A20, #205A23
Tetradic#5A2320, #3A5A20, #20575A
Tints, shades & saturation
Channel breakdown
R64
G32
B90
Red64 (25.1%)
Green32 (12.5%)
Blue90 (35.3%)
Hue273.1°
Saturation (HSL)47.54%
Lightness23.92%
Dominant channelBlue
Hex per channelR 40 · G 20 · B 5A
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