Recognised as Colour
#402F52
- #402F52
- Violet
- Dark
- Nearest: Dark slateblue
#402F52 is a violet with RGB values 64, 47, 82 and HSL 269°, 27%, 25%. It is a dark colour, so white text on it reaches 12:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#402F52#402F52
HEX#402F52
RGBrgb(64, 47, 82)
RGB (0–1)0.251, 0.1843, 0.3216
RGB percentages25.1%, 18.4%, 32.2%
HSLhsl(269.1, 27.1%, 25.3%)
HSV / HSBhsv(269.1, 42.7%, 32.2%)
CMYK22%, 42.7%, 0%, 67.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,206,418
CSS custom property--colour: #402F52;
Brightness & contrast
Relative luminance0.03732WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.02:1
Contrast with white12.02:1WCAG normal text: AAA
Contrast with black1.75:1WCAG normal text: Fail
Greyscale equivalent#353535
Inverted#BFD0AD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.02:1WCAG large text: AAA
Contrast with black, large text1.75:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#41522F
Analogous#2F3052, #512F52
Triadic#52402F, #2F5240
Split complementary#52522F, #2F522F
Tetradic#522F30, #41522F, #2F5252
Tints, shades & saturation
Channel breakdown
R64
G47
B82
Red64 (25.1%)
Green47 (18.4%)
Blue82 (32.2%)
Hue269.14°
Saturation (HSL)27.13%
Lightness25.29%
Dominant channelBlue
Hex per channelR 40 · G 2F · B 52
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