Nerdulator> put something in

Recognised as Colour

#1F024A

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

#1F024A is a violet with RGB values 31, 2, 74 and HSL 264°, 95%, 15%. It is a dark colour, so white text on it reaches 18:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#1F024A#1F024A
HEX#1F024A
RGBrgb(31, 2, 74)
RGB (0–1)0.1216, 0.0078, 0.2902
RGB percentages12.2%, 0.8%, 29%
HSLhsl(264.2, 94.7%, 14.9%)
HSV / HSBhsv(264.2, 97.3%, 29%)
CMYK58.1%, 97.3%, 0%, 71%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,032,202
CSS custom property--colour: #1F024A;

Brightness & contrast

Relative luminance0.00829WCAG 2.x, 0 is black and 1 is white
Perceived brightness30.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.01:1
Contrast with white18.01:1WCAG normal text: AAA
Contrast with black1.17:1WCAG normal text: Fail
Greyscale equivalent#0D0D0D
Inverted#E0FDB5

Colour vision & accessibility

Protanopia#00174Cno red cones; affects about 1% of men; ΔE 16.9 from the original
Deuteranopia#001549no green cones; the most common form, about 1% of men; ΔE 16.7 from the original
Tritanopia#0F1928no blue cones; rare, and affects men and women equally; ΔE 41.1 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.01:1WCAG large text: AAA
Contrast with black, large text1.17:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#2D4A02
Analogous#02094A, #43024A
Triadic#4A1F02, #024A1F
Split complementary#4A4302, #094A02
Tetradic#4A0209, #2D4A02, #024A43

Tints, shades & saturation

Lighter +40%#771FF9
Lighter +30%#5D06DF
Lighter +20%#4905AD
Lighter +10%#34037C
Darker −10%#0A0118
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#1F004C
Less saturated −25%#210C41

Channel breakdown

R31
G2
B74
Red31 (12.2%)
Green2 (0.8%)
Blue74 (29%)
Hue264.17°
Saturation (HSL)94.74%
Lightness14.9%
Dominant channelBlue
Hex per channelR 1F · G 02 · B 4A

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