Nerdulator> put something in

Colour

#1F0045

  • #1F0045
  • Violet
  • Dark
  • Nearest: Midnight blue

#1F0045 is a violet with RGB values 31, 0, 69 and HSL 267°, 100%, 14%. It is a dark colour, so white text on it reaches 18.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#1F0045#1F0045
HEX#1F0045
RGBrgb(31, 0, 69)
RGB (0–1)0.1216, 0, 0.2706
RGB percentages12.2%, 0%, 27.1%
HSLhsl(267, 100%, 13.5%)
HSV / HSBhsv(267, 100%, 27.1%)
CMYK55.1%, 100%, 0%, 72.9%naive device-independent conversion; real print needs an ICC profile
24-bit integer2,031,685
CSS custom property--colour: #1F0045;

Brightness & contrast

Relative luminance0.00721WCAG 2.x, 0 is black and 1 is white
Perceived brightness28.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.35:1
Contrast with white18.35:1WCAG normal text: AAA
Contrast with black1.14:1WCAG normal text: Fail
Greyscale equivalent#0C0C0C
Inverted#E0FFBA

Colour vision & accessibility

Protanopia#001547no red cones; affects about 1% of men; ΔE 17.2 from the original
Deuteranopia#001344no green cones; the most common form, about 1% of men; ΔE 17 from the original
Tritanopia#131525no blue cones; rare, and affects men and women equally; ΔE 37.2 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.35:1WCAG large text: AAA
Contrast with black, large text1.14:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 16.55, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#264500
Analogous#000345, #420045
Triadic#451F00, #00451F
Split complementary#454200, #044500
Tetradic#450003, #264500, #004542

Tints, shades & saturation

Lighter +40%#7C12FF
Lighter +30%#6400DE
Lighter +20%#4D00AB
Lighter +10%#360078
Darker −10%#080012
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#1F0045
Less saturated −25%#20093C

Channel breakdown

R31
G0
B69
Red31 (12.2%)
Green0 (0%)
Blue69 (27.1%)
Hue266.96°
Saturation (HSL)100%
Lightness13.53%
Dominant channelBlue
Hex per channelR 1F · G 00 · B 45

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