Nerdulator> put something in

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

Protanopia#273653no red cones; affects about 1% of men; ΔE 12.7 from the original
Deuteranopia#2B3651no green cones; the most common form, about 1% of men; ΔE 12.2 from the original
Tritanopia#3D343Cno blue cones; rare, and affects men and women equally; ΔE 18 from the original
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

Nearest named CSS colourDark slateblue (#483D8B)ΔE 26.95, a distinctly different colour
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

Lighter +40%#A68EBF
Lighter +30%#8C6EAC
Lighter +20%#735493
Lighter +10%#594272
Darker −10%#271C32
Darker −20%#0D0A11
Darker −30%#000000
Darker −40%#000000
More saturated +25%#401F62
Less saturated −25%#403F42

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “402f52” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.