Nerdulator> put something in

Recognised as Colour

#2F0160

  • #2F0160
  • Violet
  • Dark
  • Nearest: Midnight blue

#2F0160 is a violet with RGB values 47, 1, 96 and HSL 269°, 98%, 19%. It is a dark colour, so white text on it reaches 16.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2F0160#2F0160
HEX#2F0160
RGBrgb(47, 1, 96)
RGB (0–1)0.1843, 0.0039, 0.3765
RGB percentages18.4%, 0.4%, 37.6%
HSLhsl(269.1, 97.9%, 19%)
HSV / HSBhsv(269.1, 99%, 37.6%)
CMYK51%, 99%, 0%, 62.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,080,544
CSS custom property--colour: #2F0160;

Brightness & contrast

Relative luminance0.01471WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.23:1
Contrast with white16.23:1WCAG normal text: AAA
Contrast with black1.29:1WCAG normal text: Fail
Greyscale equivalent#121212
Inverted#D0FE9F

Colour vision & accessibility

Protanopia#002162no red cones; affects about 1% of men; ΔE 22.5 from the original
Deuteranopia#001F5Eno green cones; the most common form, about 1% of men; ΔE 22.9 from the original
Tritanopia#202135no blue cones; rare, and affects men and women equally; ΔE 47.1 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.23:1WCAG large text: AAA
Contrast with black, large text1.29:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#326001
Analogous#010360, #5E0160
Triadic#602F01, #01602F
Split complementary#605E01, #036001
Tetradic#600103, #326001, #01605E

Tints, shades & saturation

Lighter +40%#9330FD
Lighter +30%#7903F7
Lighter +20%#6002C5
Lighter +10%#480292
Darker −10%#16002E
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2F0061
Less saturated −25%#2F0D54

Channel breakdown

R47
G1
B96
Red47 (18.4%)
Green1 (0.4%)
Blue96 (37.6%)
Hue269.05°
Saturation (HSL)97.94%
Lightness19.02%
Dominant channelBlue
Hex per channelR 2F · G 01 · B 60

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