Nerdulator> put something in

Recognised as Colour

#2F0871

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

#2F0871 is a violet with RGB values 47, 8, 113 and HSL 262°, 87%, 24%. It is a dark colour, so white text on it reaches 15.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2F0871#2F0871
HEX#2F0871
RGBrgb(47, 8, 113)
RGB (0–1)0.1843, 0.0314, 0.4431
RGB percentages18.4%, 3.1%, 44.3%
HSLhsl(262.3, 86.8%, 23.7%)
HSV / HSBhsv(262.3, 92.9%, 44.3%)
CMYK58.4%, 92.9%, 0%, 55.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,082,353
CSS custom property--colour: #2F0871;

Brightness & contrast

Relative luminance0.0197WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.06:1
Contrast with white15.06:1WCAG normal text: AAA
Contrast with black1.39:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#D0F78E

Colour vision & accessibility

Protanopia#002874no red cones; affects about 1% of men; ΔE 21.9 from the original
Deuteranopia#00246Fno green cones; the most common form, about 1% of men; ΔE 21 from the original
Tritanopia#122B40no blue cones; rare, and affects men and women equally; ΔE 56.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.06:1WCAG large text: AAA
Contrast with black, large text1.39:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#4A7108
Analogous#081571, #640871
Triadic#712F08, #08712F
Split complementary#716408, #157108
Tetradic#710815, #4A7108, #087164

Tints, shades & saturation

Lighter +40%#8E52F3
Lighter +30%#6F23EF
Lighter +20%#570FD0
Lighter +10%#430BA1
Darker −10%#1B0541
Darker −20%#070112
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2D0079
Less saturated −25%#331762

Channel breakdown

R47
G8
B113
Red47 (18.4%)
Green8 (3.1%)
Blue113 (44.3%)
Hue262.29°
Saturation (HSL)86.78%
Lightness23.73%
Dominant channelBlue
Hex per channelR 2F · G 08 · B 71

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