Nerdulator> put something in

Recognised as Colour

#331F4E

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

#331F4E is a violet with RGB values 51, 31, 78 and HSL 266°, 43%, 21%. It is a dark colour, so white text on it reaches 14.5:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#331F4E#331F4E
HEX#331F4E
RGBrgb(51, 31, 78)
RGB (0–1)0.2, 0.1216, 0.3059
RGB percentages20%, 12.2%, 30.6%
HSLhsl(265.5, 43.1%, 21.4%)
HSV / HSBhsv(265.5, 60.3%, 30.6%)
CMYK34.6%, 60.3%, 0%, 69.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,350,350
CSS custom property--colour: #331F4E;

Brightness & contrast

Relative luminance0.02234WCAG 2.x, 0 is black and 1 is white
Perceived brightness45.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.52:1
Contrast with white14.52:1WCAG normal text: AAA
Contrast with black1.45:1WCAG normal text: Fail
Greyscale equivalent#272727
Inverted#CCE0B1

Colour vision & accessibility

Protanopia#0D2950no red cones; affects about 1% of men; ΔE 15.5 from the original
Deuteranopia#13294Dno green cones; the most common form, about 1% of men; ΔE 15.8 from the original
Tritanopia#2E2833no blue cones; rare, and affects men and women equally; ΔE 25 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.52:1WCAG large text: AAA
Contrast with black, large text1.45:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#3A4E1F
Analogous#1F224E, #4B1F4E
Triadic#4E331F, #1F4E33
Split complementary#4E4B1F, #224E1F
Tetradic#4E1F22, #3A4E1F, #1F4E4B

Tints, shades & saturation

Lighter +40%#9672C7
Lighter +30%#7B4EB8
Lighter +20%#633C97
Lighter +10%#4B2E72
Darker −10%#1B102A
Darker −20%#030205
Darker −30%#000000
Darker −40%#000000
More saturated +25%#31115C
Less saturated −25%#352D40

Channel breakdown

R51
G31
B78
Red51 (20%)
Green31 (12.2%)
Blue78 (30.6%)
Hue265.53°
Saturation (HSL)43.12%
Lightness21.37%
Dominant channelBlue
Hex per channelR 33 · G 1F · B 4E

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