Recognised as Colour
#40255D
- #40255D
- Violet
- Dark
- Nearest: Dark slateblue
#40255D is a violet with RGB values 64, 37, 93 and HSL 269°, 43%, 25%. It is a dark colour, so white text on it reaches 12.8:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#40255D#40255D
HEX#40255D
RGBrgb(64, 37, 93)
RGB (0–1)0.251, 0.1451, 0.3647
RGB percentages25.1%, 14.5%, 36.5%
HSLhsl(268.9, 43.1%, 25.5%)
HSV / HSBhsv(268.9, 60.2%, 36.5%)
CMYK31.2%, 60.2%, 0%, 63.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,203,869
CSS custom property--colour: #40255D;
Brightness & contrast
Relative luminance0.03203WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.8:1
Contrast with white12.8:1WCAG normal text: AAA
Contrast with black1.64:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#BFDAA2
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.8:1WCAG large text: AAA
Contrast with black, large text1.64:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#425D25
Analogous#25265D, #5C255D
Triadic#5D4025, #255D40
Split complementary#5D5C25, #265D25
Tetradic#5D2526, #425D25, #255D5C
Tints, shades & saturation
Channel breakdown
R64
G37
B93
Red64 (25.1%)
Green37 (14.5%)
Blue93 (36.5%)
Hue268.93°
Saturation (HSL)43.08%
Lightness25.49%
Dominant channelBlue
Hex per channelR 40 · G 25 · B 5D
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