Nerdulator> put something in

Recognised as Colour

#3F126B

  • #3F126B
  • Violet
  • Dark
  • Nearest: Midnight blue

#3F126B is a violet with RGB values 63, 18, 107 and HSL 270°, 71%, 25%. It is a dark colour, so white text on it reaches 13.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#3F126B#3F126B
HEX#3F126B
RGBrgb(63, 18, 107)
RGB (0–1)0.2471, 0.0706, 0.4196
RGB percentages24.7%, 7.1%, 42%
HSLhsl(270.3, 71.2%, 24.5%)
HSV / HSBhsv(270.3, 83.2%, 42%)
CMYK41.1%, 83.2%, 0%, 58%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,133,483
CSS custom property--colour: #3F126B;

Brightness & contrast

Relative luminance0.02551WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.91:1
Contrast with white13.91:1WCAG normal text: AAA
Contrast with black1.51:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#C0ED94

Colour vision & accessibility

Protanopia#002C6Dno red cones; affects about 1% of men; ΔE 24.1 from the original
Deuteranopia#002C69no green cones; the most common form, about 1% of men; ΔE 26 from the original
Tritanopia#352A3Fno blue cones; rare, and affects men and women equally; ΔE 42.5 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.91:1WCAG large text: AAA
Contrast with black, large text1.51:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#3E6B12
Analogous#12126B, #6B126B
Triadic#6B3F12, #126B3F
Split complementary#6B6B12, #126B12
Tetradic#6B1212, #3E6B12, #126B6B

Tints, shades & saturation

Lighter +40%#A564E5
Lighter +30%#8C38DE
Lighter +20%#7221C2
Lighter +10%#591997
Darker −10%#250B3F
Darker −20%#0C0314
Darker −30%#000000
Darker −40%#000000
More saturated +25%#3F027B
Less saturated −25%#3F225B

Channel breakdown

R63
G18
B107
Red63 (24.7%)
Green18 (7.1%)
Blue107 (42%)
Hue270.34°
Saturation (HSL)71.2%
Lightness24.51%
Dominant channelBlue
Hex per channelR 3F · G 12 · B 6B

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