Nerdulator> put something in

Recognised as Colour

#331B52

  • #331B52
  • Violet
  • Dark
  • Nearest: Dark slateblue

#331B52 is a violet with RGB values 51, 27, 82 and HSL 266°, 50%, 21%. It is a dark colour, so white text on it reaches 14.8:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#331B52#331B52
HEX#331B52
RGBrgb(51, 27, 82)
RGB (0–1)0.2, 0.1059, 0.3216
RGB percentages20%, 10.6%, 32.2%
HSLhsl(266.2, 50.5%, 21.4%)
HSV / HSBhsv(266.2, 67.1%, 32.2%)
CMYK37.8%, 67.1%, 0%, 67.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,349,330
CSS custom property--colour: #331B52;

Brightness & contrast

Relative luminance0.02097WCAG 2.x, 0 is black and 1 is white
Perceived brightness44.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.8:1
Contrast with white14.8:1WCAG normal text: AAA
Contrast with black1.42:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#CCE4AD

Colour vision & accessibility

Protanopia#002854no red cones; affects about 1% of men; ΔE 18.3 from the original
Deuteranopia#082751no green cones; the most common form, about 1% of men; ΔE 17.9 from the original
Tritanopia#2C2733no blue cones; rare, and affects men and women equally; ΔE 29.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.8:1WCAG large text: AAA
Contrast with black, large text1.42:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#3A521B
Analogous#1B1E52, #4F1B52
Triadic#52331B, #1B5233
Split complementary#524F1B, #1E521B
Tetradic#521B1E, #3A521B, #1B524F

Tints, shades & saturation

Lighter +40%#966BCE
Lighter +30%#7B44C2
Lighter +20%#63349F
Lighter +10%#4B2878
Darker −10%#1B0E2C
Darker −20%#030205
Darker −30%#000000
Darker −40%#000000
More saturated +25%#310D60
Less saturated −25%#352944

Channel breakdown

R51
G27
B82
Red51 (20%)
Green27 (10.6%)
Blue82 (32.2%)
Hue266.18°
Saturation (HSL)50.46%
Lightness21.37%
Dominant channelBlue
Hex per channelR 33 · G 1B · 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 “331b52” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.