Nerdulator> put something in

Recognised as Colour

#2F1566

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

#2F1566 is a violet with RGB values 47, 21, 102 and HSL 259°, 66%, 24%. It is a dark colour, so white text on it reaches 14.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2F1566#2F1566
HEX#2F1566
RGBrgb(47, 21, 102)
RGB (0–1)0.1843, 0.0824, 0.4
RGB percentages18.4%, 8.2%, 40%
HSLhsl(259.3, 65.9%, 24.1%)
HSV / HSBhsv(259.3, 79.4%, 40%)
CMYK53.9%, 79.4%, 0%, 60%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,085,670
CSS custom property--colour: #2F1566;

Brightness & contrast

Relative luminance0.021WCAG 2.x, 0 is black and 1 is white
Perceived brightness45.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.79:1
Contrast with white14.79:1WCAG normal text: AAA
Contrast with black1.42:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#D0EA99

Colour vision & accessibility

Protanopia#002968no red cones; affects about 1% of men; ΔE 18.8 from the original
Deuteranopia#002664no green cones; the most common form, about 1% of men; ΔE 18.3 from the original
Tritanopia#1C2B3Cno blue cones; rare, and affects men and women equally; ΔE 45.5 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.79:1WCAG large text: AAA
Contrast with black, large text1.42:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 7.11, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#4C6615
Analogous#152466, #571566
Triadic#662F15, #15662F
Split complementary#665715, #246615
Tetradic#661524, #4C6615, #156657

Tints, shades & saturation

Lighter +40%#8E67E0
Lighter +30%#6E3DD7
Lighter +20%#5626BB
Lighter +10%#421E90
Darker −10%#1C0C3C
Darker −20%#080411
Darker −30%#000000
Darker −40%#000000
More saturated +25%#290675
Less saturated −25%#352457

Channel breakdown

R47
G21
B102
Red47 (18.4%)
Green21 (8.2%)
Blue102 (40%)
Hue259.26°
Saturation (HSL)65.85%
Lightness24.12%
Dominant channelBlue
Hex per channelR 2F · G 15 · B 66

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