Nerdulator> put something in

Colour

#402F62

  • #402F62
  • Violet
  • Dark
  • Nearest: Dark slateblue

#402F62 is a violet with RGB values 64, 47, 98 and HSL 260°, 35%, 28%. It is a dark colour, so white text on it reaches 11.7:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#402F62#402F62
HEX#402F62
RGBrgb(64, 47, 98)
RGB (0–1)0.251, 0.1843, 0.3843
RGB percentages25.1%, 18.4%, 38.4%
HSLhsl(260, 35.2%, 28.4%)
HSV / HSBhsv(260, 52%, 38.4%)
CMYK34.7%, 52%, 0%, 61.6%naive device-independent conversion; real print needs an ICC profile
24-bit integer4,206,434
CSS custom property--colour: #402F62;

Brightness & contrast

Relative luminance0.04005WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.66:1
Contrast with white11.66:1WCAG normal text: AAA
Contrast with black1.8:1WCAG normal text: Fail
Greyscale equivalent#363636
Inverted#BFD09D

Colour vision & accessibility

Protanopia#1E3964no red cones; affects about 1% of men; ΔE 15 from the original
Deuteranopia#213861no green cones; the most common form, about 1% of men; ΔE 14.8 from the original
Tritanopia#393944no blue cones; rare, and affects men and women equally; ΔE 27.3 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.66:1WCAG large text: AAA
Contrast with black, large text1.8:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 17.13, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#51622F
Analogous#2F3762, #5A2F62
Triadic#62402F, #2F6240
Split complementary#625A2F, #38622F
Tetradic#622F38, #51622F, #2F625A

Tints, shades & saturation

Lighter +40%#A592CB
Lighter +30%#8970BA
Lighter +20%#6D50A7
Lighter +10%#574084
Darker −10%#291E40
Darker −20%#130E1D
Darker −30%#000000
Darker −40%#000000
More saturated +25%#3A1D74
Less saturated −25%#464150

Channel breakdown

R64
G47
B98
Red64 (25.1%)
Green47 (18.4%)
Blue98 (38.4%)
Hue260°
Saturation (HSL)35.17%
Lightness28.43%
Dominant channelBlue
Hex per channelR 40 · G 2F · B 62

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 “402f62” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.