Recognised as Colour
#40258C
- #40258C
- Violet
- Dark
- Nearest: Rebecca purple
#40258C is a violet with RGB values 64, 37, 140 and HSL 256°, 58%, 35%. It is a dark colour, so white text on it reaches 11.3:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.
Colour values
#40258C#40258C
HEX#40258C
RGBrgb(64, 37, 140)
RGB (0–1)0.251, 0.1451, 0.549
RGB percentages25.1%, 14.5%, 54.9%
HSLhsl(255.7, 58.2%, 34.7%)
HSV / HSBhsv(255.7, 73.6%, 54.9%)
CMYK54.3%, 73.6%, 0%, 45.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,203,916
CSS custom property--colour: #40258C;
Brightness & contrast
Relative luminance0.04307WCAG 2.x, 0 is black and 1 is white
Perceived brightness65.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.28:1
Contrast with white11.28:1WCAG normal text: AAA
Contrast with black1.86:1WCAG normal text: Fail
Greyscale equivalent#323232
Inverted#BFDA73
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.28:1WCAG large text: AAA
Contrast with black, large text1.86:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#718C25
Analogous#253D8C, #74258C
Triadic#8C4025, #258C40
Split complementary#8C7425, #3D8C25
Tetradic#8C253D, #718C25, #258C74
Tints, shades & saturation
Channel breakdown
R64
G37
B140
Red64 (25.1%)
Green37 (14.5%)
Blue140 (54.9%)
Hue255.73°
Saturation (HSL)58.19%
Lightness34.71%
Dominant channelBlue
Hex per channelR 40 · G 25 · B 8C
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