Nerdulator> put something in

Recognised as Colour

#1F0F28

  • #1F0F28
  • Violet
  • Dark
  • Nearest: Black

#1F0F28 is a violet with RGB values 31, 15, 40 and HSL 278°, 45%, 11%. It is a dark colour, so white text on it reaches 18.1:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#1F0F28#1F0F28
HEX#1F0F28
RGBrgb(31, 15, 40)
RGB (0–1)0.1216, 0.0588, 0.1569
RGB percentages12.2%, 5.9%, 15.7%
HSLhsl(278.4, 45.5%, 10.8%)
HSV / HSBhsv(278.4, 62.5%, 15.7%)
CMYK22.5%, 62.5%, 0%, 84.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,035,496
CSS custom property--colour: #1F0F28;

Brightness & contrast

Relative luminance0.00786WCAG 2.x, 0 is black and 1 is white
Perceived brightness24.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.15:1
Contrast with white18.15:1WCAG normal text: AAA
Contrast with black1.16:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#E0F0D7

Colour vision & accessibility

Protanopia#091529no red cones; affects about 1% of men; ΔE 11.6 from the original
Deuteranopia#0E1627no green cones; the most common form, about 1% of men; ΔE 11.7 from the original
Tritanopia#1E1319no blue cones; rare, and affects men and women equally; ΔE 13.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.15:1WCAG large text: AAA
Contrast with black, large text1.16:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 21.01, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#18280F
Analogous#120F28, #280F25
Triadic#281F0F, #0F281F
Split complementary#25280F, #0F2812
Tetradic#28120F, #18280F, #0F2528

Tints, shades & saturation

Lighter +40%#9148BB
Lighter +30%#753997
Lighter +20%#582B72
Lighter +10%#3C1D4D
Darker −10%#020103
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#21082F
Less saturated −25%#1D1621

Channel breakdown

R31
G15
B40
Red31 (12.2%)
Green15 (5.9%)
Blue40 (15.7%)
Hue278.4°
Saturation (HSL)45.45%
Lightness10.78%
Dominant channelBlue
Hex per channelR 1F · G 0F · B 28

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